Advertisement
ghostlines

Untitled

Dec 12th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. In pages that you want to execute caching add this to the body:
  2.  
  3. ---
  4. <iframe id="work-around" style="display: none;" src="http://appcacheloader.html"> </iframe>
  5. ---
  6.  
  7. And in the appcacheloader.html just add this for instance:
  8. ---
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  10. "http://www.w3.org/TR/html4/loose.dtd">
  11. <html lang="en" manifest="http://linktomanifestfile.appcache">
  12. <head>
  13. <title> Iframe Appcache loader workaround</title>
  14. </head>
  15. <body>
  16. </body>
  17. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement