Using the WP-Super Cache plugin with WordPress-MU is very simple.
WP Super Cache is a static caching plugin for WordPress. It generates html files that are served directly by Apache without processing comparatively heavy PHP scripts. By using this plugin you will speed up your WordPress blog significantly.
Instructions on how to install the plugin can be found in the readme file that comes with the plugin. As noted in the file, installing the plugin for WordPress-Mu differs just a bit from the regular WordPress install:
If you are using WordPress MU you will need to install this in ‘wp-content/mu-plugins/wp-super-cache/’ and the file wp-cache.php must be copied into the mu-plugins directory.
But there is a small problem with the plugin that I find very annoying. Although the cache is cleared with every post update and every theme change, when a user updates his blog’s widget settings the cache is not cleared and the user will not have a clue what is going on. This will result in a flood of support tickets.
I have been trying to solve this issue without changing any core files but came short. Finally I edited the wp-admin/widgets.php file and added just after line 266 the following code:
// Added to clear WP-Super Cache after the widgets are updated. // Code by Elad Salomons http://www.ringofblogs.com if(function_exists('wp_cache_no_postid')) { wp_cache_no_postid(0); }
If someone finds a way to use a plugin for this please let me know. By the way, this should work just the same for the regular WordPress.
Did you find this post interesting? Please subscribe to my feed.
Comments 2