Results 1 to 6 of 6

Thread: [OPEN-305] KitchenSink Demo - invalid cache.manifest

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default [OPEN-305] KitchenSink Demo - invalid cache.manifest

    Sencha Touch version tested:
    • 0.94


    Platform tested against:
    • iOS 3.x
    • iOS 4.x
    • Safari
    • Chrome


    Description:
    • Kitchen Sink demo's cache manifest is invalid


    Test Case:
    • view the kitchen sink demo on a local webserver and inspect the server logs.


    The result that was expected:
    • on subsequent refreshes, server should only register access log hits for favicon.ico and cache.manifest


    The result that occurs instead:
    • all kitchensink demo files are requested from the server again


    Possible fix:
    Code:
    CACHE MANIFEST
    #rev3
    
    resources/img/sencha.png
    resources/img/icon.png
    #resources/img/startup.png #non-existent
    resources/img/phone_startup.png
    resources/img/tablet_startup.png
    
    ../../resources/css/ext-touch.css
    ../../ext-touch-debug.js
    
    resources/css/sink.css
    resources/css/codebox.css
    
    #src/demos/ajax.js #non-existent
    src/demos/animations.js
    src/demos/bottomtabs.js
    src/demos/buttons.js
    src/demos/carousel.js
    src/demos/forms.js
    src/demos/icons.js
    src/demos/map.js
    #src/demos/overlay.js #non-existent
    src/demos/tabs.js
    src/demos/toolbars.js
    src/demos/touch.js
    src/demos/data.js
    src/demos/list.js
    src/demos/picker.js
    
    #missing
    src/demos/LeafSelectedPlugin.js
    src/demos/nestedlist.js
    src/demos/audio.js
    src/demos/video.js
    src/demos/sheets_overlays.js
    
    
    src/CodeBox.js
    src/index.js
    src/structure.js
    
    test.json
    
    #required for google maps example
    NETWORK:
    *

  2. #2
    Sencha User BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534

    Default

    Please test against 0.95.

  3. #3
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default

    Still invalid.

    The cache.manifest files from .94 and .95 are practically identical.

  4. #4
    Sencha User BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534

    Default

    Thanks for the bug report.

  5. #5
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default

    [ Sencha Touch 0.97 ]
    i'm still experiencing manifest problems on the latest beta...

    for some strange reason, the manifest has been removed from the kitchensink index.html file.

    additionally, there's an ONLINE config option being used which is invalid for Webkit-based browsers (should be NETWORK: instead).
    (note: i see an index_android.html file now, so is the ONLINE config option only valid on the android browser?)

    the last few lines in cache.manifest should simply be
    Code:
    NETWORK:
    *
    which will take care of external online resources like google maps.

  6. #6
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default

    [ Sencha Touch 0.98 ]
    cache.manifest is still invalid.

    Same NETWORK bug as in 0.97, plus an additional invalid reference to src/demos/data.js (there's no such file, but there is a directory src/demos/data/ which contains lots of other js files).

Similar Threads

  1. [SOLVED] How make a sencha touch app offline usable with html5 cache manifest?
    By mrsunshine in forum Sencha Touch 1.x: Discussion
    Replies: 9
    Last Post: 21 Nov 2013, 2:19 PM
  2. adding manifest='xxxx.manifest' to html tag causes app to blank out on reload
    By profunctional in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 5 Nov 2011, 5:55 AM
  3. ˙ɹǝʇndɯoɔ ʎɯ ɥʇıʍ ƃuoɹʍ sı ƃuıɥʇǝɯos
    By TheBuzzer in forum Community Discussion
    Replies: 2
    Last Post: 25 Nov 2008, 1:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •