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.
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.