This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Generate Cache

Description

When your cache is emptied (say, upon a new post or comment publication, or if you delete it manually after website changes), the plugin loops through selected items (posts, categories, tags or pages) and makes sure you have them all freshly cached to be rapidly served to visitors.

You can also use this plugin when performing website construction, design or maintenance, so that only cached pages are served to visitors.

How this works: Let’s say you’ve got a caching plugin installed on your blog (Hyper Cache, WP Super Cache, W3 Total Cache or what have you). When new content is added (posts, pages, comments, etc.) the cache is automatically deleted. But your entire blog will only be cached when somebody re-visits every single page. Generate Cache plugin keeps track of your cache directory and if its size drops below the value you specify, new cache for your entire blog will be automatically regenerated. You can choose which blog items should be taken into account: posts, categories, tags, pages and the home page.

Benefits:

  • Perform website maintenance/construction while serving cached pages to visitors.
  • Have your cache always prebuild for better search rankings, since page loading time is a significant SEO factor.
  • Quickly serve cached pages to visitors.
  • Never worry about prebuilding your cache manually.

Features overview:

  • Keeps track of your cache folder size so that it never drops below a certain limit.
  • Tries to guess your cache folder location, or you can specify it manually.
  • Choose for which blog items (posts, categories, tags, pages) cache should be regenerated.
  • Set cache generation interval.
  • Schedule automatic cache generation to be run at a specific time even if cache folder size is not below limit (in case your caching plugin doesn’t emply cache upon content changes).
  • Manually start/abort cache generation from the admin page.

Note: This is not a caching plugin! It is to be used only together with such.

My other plugins:

  • Intuitive Navigation (https://wordpress.org/extend/plugins/intuitive-navigation/)
  • Drop in Dropbox (https://wordpress.org/extend/plugins/drop-in-dropbox/)

Links: Steaming Kettle Website Design & Video Production Studio

Screenshots

  • Settings admin page

Installation

  1. Unzip the archive and put the folder into your plugins folder (/wp-content/plugins/).
  2. Activate the plugin from the Plugins admin menu.
  3. Go to Settings -> Generate Cache to set some options.

FAQ

What kind of script actions are behind this plugin?

When there is no cache for some page, a script is executed which determines the size of the cache directory and compares it to the limit you specify. If the limit is not reached, a background process is triggered getting the contents of every blog item (post, page, category, tag, home) so that new cache is generated. After all pages have been called, the process is terminated.

How long will it take to generate cache for my entire site?

All pages are called within 1-2 second intervals. So if your blog has 100 pages, its full cache will be generated in about 100-200 seconds.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Generate Cache” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Generate Cache” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.4

  • Error fixes

0.3

  • Minor code fixes
  • Added manual cache generate/abort

0.2

  • Added scheduling feature

0.1

  • Initial release