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*/});

  3. #2
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Answers
    64
    Vote Rating
    20
    haduki will become famous soon enough haduki will become famous soon enough

      0  

    Default


    Code:
    Ext.Loader.setConfig({
        disableCaching: false
    });
    Ext.application({/*build your app*/});
    I write English by translator.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar