#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    77
    Rep Power
    3

    Html5 manifest not working on IOS and Android


    Hi Guys,

    I've been working on this mobile site for some time and the only thing missing (not working) is the manifest.appcache, that is on mobile devices.

    I have read many tutorials on the subject and I don't know how to proceed from here.

    I included the manifest.appcache to the html file.

    Code:
    <!DOCTYPE html>
    <html manifest="cache.appcache">
    ...
    </html>
    I created the cache.appcache file with its content

    Code:
    CACHE MANIFEST
    # 2013-01-13:v1
    
    index.html
    style.css
    script.js
    And I added the mime type to my mime.conf file i Apache

    Code:
    AddType text/cache-manifest .appcache
    It all works wonders in Firefox, Chrome, and Safari but on IOS and Android its not doing its thing.

    I found a script to debug the caching, but all files returns 304 not modified.

    What am I missing?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    77
    Rep Power
    3
    I have read some people mentioning that you can delay the caching by loading the manifest file or the page through an Iframe but I don't really understand the concept. Does anyone care to elaborate?

IMN logo majestic logo threadwatch logo seochat tools logo