html - how to configure a manifest file -


this first time in stackoverflow if break rule or something, please tell me , ill try fix asap.

im trying configure manifest (appcache) file download 2 files( 1 html , 1 js) , able use html in offline mode, after many trys, couldnt configure manifest file (or maybe else fail?) store appcache files.

at moment have in same folder, 3 files: juego.html , damas.appcache , juego.js

damas.appcache:

cache manifest cache: juego.html juego.js network: * 

and in html file... juego.html:

<!doctype html> <html manifest="damas.appcache"> ... 

i dont think more html code or javascript code needed explanation if needed, ill put it.

¿how can got files stored in local?

thanks all

it's possible have older version of html cached. seems case because setup looks correct, missing unique value—such timestamp—in damas.appcache. cache manifest gets updated when there change file.

it's possible mime-type incorrect. ensure mime-type set cache manifest set text/cache-manifest.

apache: addtype text/cache-manifest .appcache


references:

see cache manifest on website: http://pygeek.com

see a beginner's guide using application cache: http://www.html5rocks.com/en/tutorials/appcache/beginner/


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -