Adding pages to be cached
-
Hey,
I really am liking the plug-in… I have been reading a lot into Appcache and think this plug-in nailed it. Where would I add in my code if I want WP Appcache to store a specific page that hasn’t loaded?I tried this on line 12 in your manifest.php file:
echo 'CACHE MANIFEST # version ' . $_SESSION['wp_appcache_manifest_timestamp'] . ' v1 CACHE: portfolio-item/octopus-4/index.php # html files / NETWORK: FALLBACK: webapp/portfolio-item/octopus-3/index.php *';
For example on this site: https://appcachefacts.info/demo/index.html
they used Appcache and have the “Cache” page load on the home screen. So if you go to that home page on your phone and load it without viewing the “Cache” page. Then turn off your connection and go back into the page and load the “Cache” page it will load.
Thank you so very much! ??
- The topic ‘Adding pages to be cached’ is closed to new replies.