How to setup cahe plugin with WordPress on Ubuntu 14.04 imaged


I want to know what is the best way to set up caching on Ubuntu 14.0.4 WordPress (the image setup)

WP Super Cache Vs W3 Total Cache. My site has images and text nothing major also I have a SSL so I don’t know if that if that effect anything.

simple would be great.

Thank you

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Installing WP Super Cache should be fairly straight forward. Simply visit and install it directly through the WordPress admin panel. Next, there are a few things you need to configure.

In Settings > Permalink you need to select a link structure. WP Super Cache will not work with the default. Now lets activate the plugin. Go to the Plugins tab and click on Activate directly beneath WP Super Cache. Then click on WP Super Cache Settings and select Enable Caching

There are a few more tweaks we can make. In the WP Super Cache Settings, click on the Advanced tab and check Cache hits to this website for quick access and Use mod_rewrite to serve cache files.

There are also a few Apache modules that you will want to make sure are enabled:

a2enmod rewrite
a2enmod mime
a2enmod headers
a2enmod expires
service apache2 restart

You should now be all set to go. Of course there are a lot more options you can experiment with, but just this basic setup should get you going.

Don’t cache pages for known users. is another setting you might want to enable so that you make sure you don’t get stale content while developing.

W3 Total Cache should be more or less just as easy to get running.