WordPress Plugin: html5 Cache Manifest

Estimated reading time: 684 words, 4-5 minutes Font: 456 Views

Just spent a little time to make an easy way to generate a html5 cache manifest file for wordpress themes. Activate the plugin in WordPress Plugin Panel and the plugin will create a cache manifest file in your current blog theme’s directory. This plugin requires php5 and WordPress 3.1 or newer.

Please make sure your blog site served with the content type text/cache-manifest. If you are running an Apache-based web server, you can probably just put an AddType directive in the .htaccess file at the root of your web directory:

AddType text/cache-manifest .manifest

Dowload and unzip this file, upload to plugin folder. html5 Cache Manifest WordPress Plugin

Sample cache manifest file:

CACHE MANIFEST CACHE: ./images/wordpress.png ./images/headers/cherryblossoms.jpg ./images/headers/berries.jpg ./images/headers/forestfloor.jpg ./images/headers/path.jpg ./images/headers/sunset-thumbnail.jpg ./images/headers/concave.jpg ./images/headers/fern-thumbnail.jpg ./images/headers/forestfloor-thumbnail.jpg ./images/headers/fern.jpg ./images/headers/cherryblossoms-thumbnail.jpg ./images/headers/concave-thumbnail.jpg ./images/headers/sunset.jpg ./images/headers/berries-thumbnail.jpg ./images/headers/inkwell.jpg ./images/headers/path-thumbnail.jpg ./images/headers/inkwell-thumbnail.jpg ./style.css ./editor-style-rtl.css ./editor-style.css ./screenshot.png ./rtl.css NETWORK: ./single.php ./loop-page.php ./tag.php ./author.php ./index.php ./category.php ./loop-attachment.php ./onecolumn-page.php ./header.php ./functions.php ./sidebar.php ./footer.php ./loop-single.php ./search.php ./comments.php ./404.php ./archive.php ./loop.php ./attachment.php ./page.php ./sidebar-footer.php hSpecific Entry # Hash:43dd9ed18ea4c8944d281325ae9d3ab1 # Generated by WordPress html5 Cache Manifest http://patrickchia.com/
Found this article helpful? Why not share it on social media and help someone else too?
Twitter (Open in new window) FaceBook (Open in new window)
Posted in categories of HTML5 This page was last modified on
Return to all HTML5 articles

Tell us what you liked (or didn't like) about this article in the comments.

By creating an account, you agree to our Terms of Service and Private Policy.

Comment Policy