Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a recommended known-to-work way of caching a WordPress site running on Apache Httpd 2? Should I use a plug in or cache in Apache Httpd? If in Apache Httpd, should it be disk or memory cache? If as a plug in, which one?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

WP-SuperCache is the defacto standard for caching WordPress pages and provides a good deal of flexibility.

share|improve this answer
    
With Apache's mem cache: 1.32 requests/sec, without it: 1.33 requests/sec. With WP-Super-cache: 1759.05 requests/sec (measured with ab -n 100 localhost). Wow! Thanks. –  J. Pablo Fernández Dec 11 '09 at 1:46

My general experience is that the application level is a good place to start doing cache. It is the application which has the necessary information to do the smart choices.

Without have any specific experience of caching Wordpress the plugin WP Super Cache does look like a good option do consider. Not only is it well maintained, it also supports generating static html, which will save a lot of load on your web server.

share|improve this answer

WP Super Cache as the others have said is a great plugin and works well. You may also want to consider doing some caching at the database level, a little love given to mysql can go a long way on a busy site, mysqlreport is a great tool for understanding all the knobs and dials for tuning mysql.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.