Use html5 Cache Manifest in WordPress Themes

Estimated reading time: 177 words, 1-2 minute Font: 460 Views

I am trying use html5 cache manifest to improved WordPress blog’s speed. If you have enabled cache manifest in your server mime-type like: AddType text/cache-manifest .manifest. You may try to do these step.

1. Upload manifest.html, manifest.php to your blog themes directory. File manifest.php is auto generates structure of a manifest file and it’s code adapt from  http://www.sitesketch101.com/creating-a-dynamic-html5-cache-manifest/. I make the code only find the file type that support cache manifest. Remember, your blog site must be support php5 by default to run this script.

2. upload manifest-plugin.php to your plugins folder and activate in Admin Panel. This plugin file is run a iframe code in your blog themes. I used jQuery to run iframe when browser support webkit. Currently when cache manifest run on firefox will pop up a message to user, so I make the code run on Google Chrome. If you have better idea, please leave your comment to improve.

All these these file(manifest.html, manifest.php, manifest-plugin.php) may download from here: Cache Manifest.

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

Your comments help us improve - please share your thoughts below.

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

Comment Policy