1. #1
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Arrow Problems with manifest

    Problems with manifest


    Hey guys. This is not really a Sencha issue but I figure that someone here might be able to help.

    I have added a Manifest file to my Sencha-Touch app but chrome says that it is unable to parse the file.

    UPDATED index.html
    **************************
    <html manifest="manifest.cache">


    HERE IS MY TEST FILE (manifest.cache) - Empty while trying to debug the parse error
    *****************************************************************
    # v 0.1.1
    CACHE MANIFEST
    CACHE:
    FALLBACK:
    NETWORK:


    CHECKED MIME TYPE (seems to be text/cache-manifest as desired)
    ***************************************************
    Chrome says: "Resource interpreted as document but transferred with MIME type text/cache-manifest."


    PARSE ERROR (when loading Sencha App)
    *******************************
    Chrome says: "Creating Application Cache with manifest http://localhost/html/manifest.cache
    Application Cache Checking event
    Application Cache Error event: Failed to parse manifest http://localhost/html/manifest.cache"


    Any ideas as to what might be wrong?

  2. #2
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Opps.. My Bad!

    Seems like "#" comment cant be first line... Changed to


    CACHE MANIFEST
    # v 0.1.1
    CACHE:
    FALLBACK:
    NETWORK:

    and everything works :-)

  3. #3
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    I can't get html5 offline feature to work on iPhone at all. I know that I'm doing everything right. Manifest file, MIME type being "text/cache-manifest" etc... As a matter of fact everything works fine in any desktop browser, but not on my iPhone. Any idea what might be wrong?

  4. #4
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    I also forgot to register my JSON request urls under network. That took ages to figure out!

    Now I have:

    CACHE MANIFEST
    # v 0.1.1
    CACHE:
    # js files, images and css

    NETWORK:
    # json urls

    Seems to be working now... :-)

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Location
    India
    Posts
    25
    Vote Rating
    0
    m4manas is on a distinguished road

      0  

    Default


    Thanks Guys,
    It works now.

    One thing i have notice if we leave out some file from the manifest. It does not load. It seems every thing need to be either in CACHE:
    Or in NETWORK:

  6. #6
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Yeah. You have to list every file.
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  7. #7
    Sencha Premium Member akpotosufredrick's Avatar
    Join Date
    Jan 2011
    Posts
    68
    Vote Rating
    0
    akpotosufredrick is on a distinguished road

      0  

    Default


    Try using Sencha Touch 2 and its SDK. Then you dont / wont have to worry about such Problems again.

Similar Threads

  1. Login Page with Manifest feature and Webstorage.
    By tomalex0 in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 36
    Last Post: 30 Jun 2012, 3:52 AM
  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. speed up loading time with manifest. how?
    By dddesign in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 28 Sep 2010, 8:45 PM
  4. cache.manifest and YQL
    By fgueant in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 18 Sep 2010, 3:05 PM

Thread Participants: 3

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