Threaded View

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    fhding618 is on a distinguished road

      0  

    Default Answered: About offline app in Sencha Touch

    Answered: About offline app in Sencha Touch


    I need to create a offline app and to cache the home page.
    This is my manifest file:
    Code:
    CACHE MANIFEST
    
    CACHE:
    index.html
    app.json
    app.js
    lib/sencha-touch-all.js
    app/view/index/Card.js
    
    
    NETWORK:
    *
    I cached the app/view/index/Card.js. But when the app is loaded, the app fetches the Card.js by the URL of "http://test.com/app/view/index/Card.js?_dc=1348797658172". It seems that the "_dc=1348797658172" disabled my Card.js cache.

    So any idea to solve the problem?!
    Thanks..

  2. Code:
    Ext.Loader.setConfig({
        disableCaching: false
    });
    Ext.application({/*build your app*/});

Thread Participants: 1

Tags for this Thread