The agressive cache
This cache is simple and very efficient. Wordpress, when a blog page is called,
lets someone to intercept the call and do "something" before all. No database access
will be made before this call neither a connection is activated.
For who, like me, have a very slow database, servin the page at this step is very
efficient. But there are some drawbacks:
- no plugin are initialized neither loaded
- no statistics can be collected
- no dynamic code in the page will be executed (after the first call)
So, if you have a simple blog like mine, try to see if this cache can be useful.
Tha cache is expertimental, this is why no automatic installation has ben provided.
=Agressive cache installation (experimental)=
- if you already have the blog control plugin, deactivate and reactivate it
- deactivate the wp cache plugin if installed
- remove or rename the link "wp-content/advanced-cache.php"
- copy/upload the file "advanced-cache.php" in the folder "wp-content" from the blog control folder
- edit the "wp-config.php" and add the line
define("WP_CACHE", true"); (if you use the wp cache plugin this code is already there)
- now the aggressive cache is active! In the blog control configuration page activate the cache option otherwise when you add a post it won't show on home page
- you're alone now...
- you're alone now...
=Remove the agressive cache=
- edit the "wp-config.php" and remove the line
define("WP_CACHE", true");
- delete the "wp-content/advanced-cache.php"
- deactivate the cache option on the blog control configuration page
- delete the "wp-content/bc-cache" directory