WordPress Internal Caching
Oct31Difficulty: 




In case when you have slow database server, it might be a good idea to store frequently used data
in a serialized form on disk. WordPress has an integrated disk-cache which stores rarely changing data like categories and users in a special folder.
wordpress-folder/wp-content/cache.
To enable Wordpress internal caching, CMOD the above cache folder to 777. (make it writable)
And add the following line to:
wordpress-folder/wp-config.php.
define( ‘ENABLE_CACHE’, true );
Note that this cache is not recommended if the disk is slow or your host (like DreamHost) set up a NFS based storage solution which would request the cached data
from a remote storage server.
For more caching tricks check: http://www.arnebrachhold.de/2007/02/16/four-plus-one-ways-to-speed-up-the-performance-of-wordpress-with-caching/
Posted in wordpress |caching, / mysql cache, / wordpress, / wordpress caching
» Post your comment, there are no comments yet. »
Comments
- Pulkit Singhal
- Neil
- mike nittmann
- geniutrixone
- Mika
- Romfrosk
- steve
- shahzad
- Maurice
- Lee
- Oskar Krawczyk