HostMonster Web Hosting Help

WP Super Cache Plugin

One way to optimize WordPress is to install WP Super Cache, which can be done from your WordPress Dashboard under Plugins.

Suggested Settings

Please complete all four (4) steps to use the suggested settings.

(Click on any of the images for a larger version of the image.)

Step 1. Set General Settings

On "Advanced" tab:

When selecting between "Use mod_rewrite to serve cache files" and "304 Not Modified browser caching" please note that 304 Not Modified browser caching will not be selectable as long as you have Use mod_rewrite in use. You will need to use one or the other as recent updates to the WP Super Cache Plugin have made the use of both un-accessible at this time.

  • Check box next to "Cache hits to this website..."
  • Select button next to "Use mod_rewrite to serve cache files"
  • Check box next to "Compress Pages"
  • Check box next to "304 Not Modified browser caching"
  • Check box next to "Don't cache pages for known users"
  • "Cache rebuild" & "Extra homepage checks" should already be checked, leave them that way.
  • Select "Update Status" button.

Step 2. Set Mod_Rewrite Rules

Then, scroll down and select "Update Mod_Rewrite Rules" in the yellow box.

Step 3. Set Garbage Collection

Scroll down to "Expiry Time & Garbage Collection" and enter "3600" in the box, then select "Change Expiration"

Step 4. Set Rejected User Agents

It is recommended that you do not remove the default user agents from the list, to prevent bots from caching content and pages not normally seen by your visitors.

Explanation of the Options Selected

Cache hits to this website...

Enables caching

Use mod_rewrite to serve cache files

Fastest caching method, uses mod_rewrite rules in client's .htaccess file

Compress Pages

Super Cache files are compressed and stored that way so the heavy compression is done only once. These files are generally much smaller and are sent to a visitor's browser much more quickly than uncompressed html. As a result, the server spends less time talking over the network which saves CPU time and bandwidth, and can also serve the next request much more quickly.

304 Not Modified browser caching

Indicates to the client's browser whether a requested file has been modified or not (see: http://www.addedbytes.com/for-beginners/http-status-codes/ or elsewhere for more info on that apache code)

Don't cache pages for known users

This prevents logged-in users from being served cached pages and is the default for almost every caching plugin out there.

Expiry Time & Garbage Collection

The default setting will allow cache files to age 1 hour (3600 seconds) prior to being removed which is ideal. This setting can be increased for sites that do not have many posts (1,000 or less ) if you do not update your content often. If you have a very large amount of posts ( 25,000+ ), a lower setting around 1800 may be more viable to prevent stat/CPU issues due to the amount of files being created.

Rejected User Agents

It is recommended that you do not remove the default user agents from the list, to prevent bots from caching content and pages not normally seen by your visitors. (For example, if you have a calendar, a real visitor may only browse months close to now, but a bot will index every month forever as if it is a different page. Caching these pages real visitors are unlikely to visit wastes resources.)

Knowledgebase Article 8,387 views bookmark tags: cache wordpress (updated 433 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to install and configure the W3 Total Cache WordPress Plugin (updated 872 days ago)
Knowledgebase Article 8,786 views tags: cache wordpress

Install Plugins These steps will help you install and select a WordPress plugin for your blog. Inside the WordPress Dashboard, select the Add New link from the Plugins menu. You can search for a plug (updated 97 days ago)
Getting Started Article 104,479 views tags: blog install link plugin wordpress

We provide a program which makes it very easy to install third party scripts to your hosting account. If you want your website to have a WordPress blog, you can use MOJO Marketplace to install WordPres (updated 90 days ago)
Getting Started Article 544,055 views tags: blog install scripts simple wordpress

Related Help Content

If you have a WordPress blog hosted on wordpress.com, you can easily export it and import it to WordPress that is installed on your hosting account with hostmonster. Login to the WordPress D (updated 90 days ago)
Getting Started Article 249,202 views tags: blog export file import wordpress

Install Themes These steps will help you install and select a WordPress theme for your blog. Inside the WordPress Dashboard, select the Add New Themes link in the Appearance Menu. You can search for (updated 97 days ago)
Getting Started Article 257,494 views tags: install link theme themes wordpress

Learn how to use WordPress, WordPress started as just a blogging system, but has evolved to be used as full content management system and so much more through the thousands of plugins, widgets, and themes now available. (updated 67 days ago)
Knowledgebase Article 349,331 views tags: blog buildersonline website wordpress

This article explains how to install WordPress when Mojo is unable to create the database automatically. (updated 80 days ago)
Knowledgebase Article 2,841 views tags: MOJO automatic database install wordpress

My Wordpress site is slow or seems down. (updated 1515 days ago)
Knowledgebase Article 71,793 views tags: wordpress

Tips and tricks to make your wordpress blog load faster (updated 433 days ago)
Knowledgebase Article 39,233 views tags: optimizing wordpress

Why we had to update the WordPress Plugin: MailPoet (updated 348 days ago)
Knowledgebase Article 7,264 views tags: mailpoet security wordpress

Why we had to update the WordPress Plugin: Slider Revolution (updated 305 days ago)
Knowledgebase Article 11,700 views tags: hack wordpress