1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    24
    Vote Rating
    1
    buffalo billion is on a distinguished road

      0  

    Default Problems with taking my sencha touch app offline

    Problems with taking my sencha touch app offline


    I have a Sencha Touch app running on Tomcat (using remote storage via java service). All of the resources listed in the app.manifest file seem to load fine when online; no errors in the dev console. However, when I take it offline, I just get a blank page. I check the dev console in chrome, no errors, except the expected "Application Cache Error Event: Manifest fetch failed". I even set a breakpoint in the dev console in my app.js file, and it hits it in the launch function.

    I know I have the mime type configured in Tomcat correctly. Does anyone have any ideas for other things I should be checking?

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    24
    Vote Rating
    1
    buffalo billion is on a distinguished road

      0  

    Default


    Here's more information. I have a similar app that I serve up from apache rather than from tomcat. I am able to run it offline successfully--no blank screen. So, it seems to be a tomcat-related issue. Has anyone successfully run a sencha app served from tomcat successfully offline?

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    24
    Vote Rating
    1
    buffalo billion is on a distinguished road

      0  

    Default


    Found the problem--turns out it was not tomcat-related. I am using a bundle plugin to read .properties files for i18n. Sencha code was appending parameters--specifically _dc and limit--to the GET requests, and since the _dc one in particular is a random number and is meant as a cache-buster, the properties files were not being cached correctly.

    Solution is to add noCache : false to the proxy.

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi