InMotion Hosting Support Center
By default WordPress is a dynamic CMS (Content Management System). This means that for every visitor request that WordPress has to process, it must first connect to the database to see if the requested page even exists.
 
In a lot of cases this might not be problematic on a site that doesn't receive much traffic. However a sudden surge in traffic caused by search engine bots, or just a general increase in normal traffic can quickly cause your WordPress site to use up a lot of CPU resources from the server while trying to fulfill needless duplicate requests again and again.
 
You can counter this increase in CPU usage by implementing a caching plugin. What these do is cache the first visitor's request of a new page to a plain HTML file on the server, then when another visitor comes through and requests the same page, so long as the page wasn't updated in your administration section, or updated by a comment, the cached HTML page will be served.
 
This can greatly reduce CPU usage of your WordPress site very easily. As an example let's say you had 100 views of your front page, without caching that would require the same database query to have to run 100 times and every time it's just getting back the exact same data anyways.
 
With a caching plugin only the first user would have the database query run to generate the cached HTML file, then the next 99 visitors would get that cached HTML served to them right away, without having to wait for any database activity to complete.
 
This is just about always a win-win, because your visitors don't have to wait as long for your pages to load, and you're reducing the impact of WordPress's requests on the server's performance.
 
One of the simplest WordPress caching plugins to setup is WP Super Cache which is discussed in a previous article of ours.

However if you need more advanced caching options such as the ability to serve a static 404 error page the steps below will walk you through installing and configuring the W3 Total Cache plugin for WordPress.

**Note: This will not work with Wordpress Multisites.

Optimizing WordPress with W3 Total Cache plugin

  1. Hover over Plugins in the left-hand menu, then click Add New.
    plugins-add-new
  2. In the Search box, type in w3 total cache and click on Search Plugins.
    click-search-plugins
  3. Under W3 Total Cache click on Install Now.
    click-install-now
  4. Click OK in the installation pop-up.
    click-ok
  5. Click Activate Plugin.
    click-activate-this-plugin
  6. You should now see Plugin activated.
    plugin-activated
  7. From the left-hand menu, you should now have a new Performance section, hover over this and click on General Settings.
    performance-general-settings
  8. Scroll down the general settings page ensuring that each main section is enabled.

    These would be:

    Page Cache
    w3tc-setting-page-cache

    Minify
    w3tc-setting-minify

    NOTE: If you are using minify, make sure to enable the option, save it and then immediately look at your WordPress site to make sure that the site looks normal. If you see problems with formatting, then it's possible that a theme or plugin is causing issues due to the minification. You should then disable minification and not use this option with your website.


    Database Cache
    w3tc-setting-database-cache

    Object Cache
    w3tc-setting-object-cache

    Browser Cache, after enabling this option click on Save all settings
    w3tc-setting-browser-cache
  9. Hover over Performance again in the left-hand menu, and click on Page Cache.
    performance-page-cache
  10. Ensure that these options have a checkmark beside them, then click on Save all settings:

    Cache home page

    Cache feeds: site, categories, tags, comments

    Cache 404 (not found) pages

    Cache requests only for example.com hostname

    Don't cache pages for logged in users

    performance-page-cache-save-all
  11. Finally to confirm that you've setup everything correctly, in your web-browser open up your site and hit (Ctrl-U), or go to View -> Page source to view the source of the page. Scroll to the very bottom of the page and you should see the W3 Total Cache banner letting you know the page has been optimized.
    w3tc-confirm-page-source

Once you've confirmed that W3 Total Cache is up and running properly on your website you're done. Now you can enjoy quicker page loads, and reduced resource usage from your WordPress site! For more information on this course please visit Recommended Plugins.

Continued Education in Course 201: Recommended WordPress Plugins
You are viewing Section 12: How to Optimize WordPress with W3 Total Cache
Section 11: Optimizing WordPress with WP Super Cache Plugin
Section 13: Clearing cache in WordPress
2014-06-08 4:31 pm
i followed the above instructions exactly and my site display was radically changed to not acceptable viewing. called tech support and michael logged into backend and discover an error message in the dashboard... he went to Minify and unchecked "CSS minify settings:" so do NOT enable and my site went back to normal. can you guys check to see if okay and/or update your instructions. thank you!!! wp 3.9.1 - W3 Total Cache .0.9.4
2014-07-02 11:30 pm
a few days after doing the Minify, the site CSS still got whacked and made the site unreadable, so there's more going on here. but then a few days later the site went back to good with no modifications and been good for about 2.5 weeks now. i have no idea.
9,968 Points
2014-07-03 5:14 am
Hello Rockit,

Sometime CSS minification can cause problems and you might need to leave it disabled. It might be working now because the cache has cleared since enabling it.

If you continue to have issues, you might want to try to <a href="http://www.inmotionhosting.com/support/edu/wordpress/recommended-wordpress-plugins/clearing-cache-in-wordpress" target="_blank">clear the WordPress cache</a> and also <a href="http://www.inmotionhosting.com/support/website/how-to/clear-browser-cache" target="_blank">clear your web-browser cache</a>

Let us know if you have any further problems.

- Jacob
n/a Points
2014-10-18 9:23 am

Recently, I used w3 total cache but my site is acting wierdly, it is not properly loading and this happens on every page but when i referesh it loads properly.

I told my developer so he told me to empty the cache so it worked fine but it keeps happening like this. My developer advised that my internet speed is slow which is causing the page to stop loading. What possible solutions are there ?

 

Staff
36,928 Points
2014-10-20 11:26 am
Hello Arif,

The Internet speed would be from your end, not the server in the data center. However, there is a possibility that there is a routing error, causing slow loading. You may want to perform a ping and trace test to see if there are any hang ups in the route.

Kindest Regards,
Scott M
n/a Points
2014-06-25 12:53 am

I'm wary of installing this on a news website that currently has over 30 thousands posts. Will the process of caching this much content over burden my vps in media temple?

Staff
36,928 Points
2014-06-25 8:09 am
Hello dtigs,

Caching takes place as a page is initially visited not the entire site at once. It should not have an adverse affect on the server. In fact, overall (after caching) it should decrease your load, making your site more efficient.

Kindest Regards,
Scott M
n/a Points
2014-07-06 10:19 am

W3 Total Cache is very powerful but I get high CPU usage after doing page's purge

I need to purge page's for refreshing the new pages after getting new posts of my wordpress

Could you please to advise ? Thanks

9,968 Points
2014-07-06 4:29 pm
Hello Jage,

You shouldn't need to purge the entire cache when just updating one post in WordPress. Typically when you update a post, it will automatically update the cache for that post. Are you not seeing this behavior?

Make sure that you <a href="http://www.inmotionhosting.com/support/website/wordpress/update-wordpress-plugin" target="_blank">update the WordPress plugin</a> so that you're using the latest version which has this functionality.

Please let us know if you're still having issues.

- Jacob
n/a Points
2014-10-20 8:14 pm

Yes, I still get the cpu high after purge pages

Yes, I see after updating a post, it will automatically update the cache for that post, but not the paging (1, 2, 3,...)

To re-arrange the paging  (1, 2, 3,...), page 1 is the newes post..etc, I have to purge pagesplease advise, my blog is batiks128.com

Staff
36,928 Points
2014-10-20 8:31 pm
Hello Jage,

There will be a surge if you clear or purge pages from caching. They need to recache in order to reduce the cpu usage. Is this what you are doing?

Kindest Regards,
Scott M
n/a Points
2014-10-20 9:43 pm

Yes, that's what I do 

Please enlightenment, how to rearrange the pages (1,2,3, .. etc) including category pages without causing cpu spike ?

Thanks

Staff
9,538 Points
2014-12-05 11:02 am
Hello Jage,

You can setup your front page to be the latest post which can be done with your theme options. However it will still most likely cause a cpu spike when purging the cache.

Kindest Regards,
TJ Edens
n/a Points
2014-12-06 6:20 pm

It solved, by checking Post terms pages and changing Purge Limit to 0

Thank you

n/a Points
2014-07-15 2:03 am

I installed the W3 plugin and followed these W3 total cache settings but still my account shows high resource usage, what is the problem that I am facing. How do I get rid of high resource usage?

Staff
36,928 Points
2014-07-15 8:40 am
Hello Aditya

If you have installed the plugin and still report high usage you will need to contact live support so they can take a deeper look at the specifics of your account.

Kindest Regards,
Scott M
9,968 Points
2014-07-17 7:35 pm
Hello Aditya,

You can always take a look at the <a href="http://www.inmotionhosting.com/support/website/server-usage/viewing-resource-usage-with-cpu-graphs" target="_blank">CPU graphs</a> in cPanel to keep an eye on your account's resource usage.

It looks like you had a very large usage spike on <strong>6/27</strong>, but since then your CPU usage has been within the limits for the most part.

I'd recommend also taking a look at our <a href="http://www.inmotionhosting.com/support/website/wordpress/how-to-optimize-wordpress" target="_blank">optimize WordPress</a> guide for further tips on how to tweak WordPress to use the least amount of resources possible.

- Jacob
n/a Points
2014-07-22 12:06 am

cdncalc.com is a good website to compare CDNs. I've chosen keycdn.com and I'm very happy with it. 

n/a Points
2014-08-02 5:36 pm

I've followed many tutorial to install W3 Total Cache and have been having problems.  I've followed yours (great tutorial BTW) and my page source says it's optimized (although it has a ton of other script written below it) and currently I have over 700 broken links, 404s.  I disabled minify.  Is there anything else I check before I deactivate the plugin?

 

Thanks for your help!!

 

Jamie

Staff
36,928 Points
2014-08-04 10:23 am
Hello Jaime,

If the site was working prior to enabling a plugin, the first thing you should do is disable it to see if the normal behavior returns. If not, then you should check into the other things.

However, with that many broken links and 404's, it sounds as if your PermaLinks may have broken. To test this, go back into the admin area, disable the permalinks, save, and then re-enable them the way you had them. The site hopefully will return to normal behavior from there.

Kindest Regards,
Scott M
n/a Points
2014-08-04 5:10 pm

Thanks so much for your response, Scott!  I've disabled the plug-in and I still have those broken links.  I also have the Yoast SEO plugin.  Do I go into those settings and disable my permalinks, save then change it back to the way it was?  

Do I just change it to this:  /%postname%/

And do I change it under post titles?

Thanks for your help!!

Jamie

 

Staff
22,952 Points
2014-08-04 5:24 pm
Hello Jamie,

Thank you for contacting us. What Scott is suggesting is changing your Wordpress Permalinks to a different option. For example default, and saving.

Change the permalinks back to the one you were using originally, and save again. Then, test your site to see if it fixed your 404 errors.

If you are still having problems, I recommend reviewing our Common WordPress Troubleshooting guide. The first section goes over Disabling your WordPress Plugins.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
n/a Points
2014-10-08 10:25 am

Hi,

I am using wordpress along with cloudflare & cloudfront CDN, & also running W3 Total Cache plugin at www.eRescue.in, but GTMETRIX report at http://gtmetrix.com/reports/erescue.in/IY804vLS always give my website a F in "Specify a cache validator" section. I do not understand what i am doing wrong.

Staff
32,263 Points
2014-10-08 10:37 am
Hello Nikhil,

Thanks for the question. I researched this issue and I found this post that gives a variety of possible solutions to the issue. They also faced the same problem with the cache validation and provide you a solution.

Kindest regards,
Arnel C.
n/a Points
2014-10-08 10:46 am

Hi,

Thanks for your quick reply i did what you asked but it didnt help my page speed issue instead yslow jumped from 84 to 90, but still the cache vallidator issue persists.

http://gtmetrix.com/reports/erescue.in/bOzcjRS9

Staff
32,263 Points
2014-10-08 11:02 am
Hello Nikhil,

Did you clear your W3 cache? If you didn't then the old cache will still reflect the files made without the changes and be assessed by GtMetrix that way. If the problem persists, then you should contact Gtmetrix and ask what could be causing the flag if you have taken steps to resolve it. Also, if you, looked through the forum response, the last post mentions the same thing and provides a possible resolution to the issue.

Regards,
Arnel C.
n/a Points
2014-12-02 11:01 pm

You know, I'm sure this must be a great plug-in and I must be the dumbest idiot on the planet, but I swear to God, my site stats actually showed slower page loads AFTER implementing W3 Total Cache and setting it up as directed by WPBeginner and a couple of  other sites. Fortunately, we're not Amazon, so loading pages in a flash is not going to make us or break us. Maybe this is a KUDO to inMotionHosting for having fast hardware, I don't know, but if I can avoid ANY complexity in my website, I'm going to avoid it.

You know, if you implemented every single plug-in that is "recommended" to "speed up your site", spread your content over a CDN, get your SEO in order, yadda, yadda, yadda, SERIOUSLY, NO ONE could afford to have a website!

Yeah, I guess I just don't get it.

Staff
32,263 Points
2014-12-03 11:17 am
Hello John,

Sorry to hear that you're having problems with the caching software. It's very possible that it may be slowing your site, depending on the settings. Try going to Gtmetrix.com and it should tell you what may be causing your site to be slow. If you can provide a URL for the website we can also look if you wish. Apologies again for any confusion or difficulties. Please let us know if you have any further questions or comments.

Regards,
Arnel C.
200 Points
2014-12-04 5:21 pm
1. i use wp default theme twenty fourteen (through a twenty fourteen child theme) ALL my site css format gets whacked enabling Minify. is there a solution for this?

2. it seems to me that every site in created on IMH using Softaculous Clone function gets this error
"The required directives fro fancy permalinks could not be detected, please confirm they are available:"

but all my url links are text words just like the sites that W3 installed fine.

searching i found some explanation saying "your .htaccess file does not exist" but in my case that is NOT true.

i would also like to comment on John Orban - really all 30 of my sites are pretty much identical, all the same popular plugins, identical pages... testing on gtmetrix (W3 - 1/2 the sites bump up one letter the other half have no change if they already B C sites. it seems only my C D sites bump up to B C.)

last months using WP Fastest Cache i noticed all my sites bumped up at least one letter no matter. i had to stop using WP Fastest Cache because the author told me it is not compatible with ithemes security which i use.

PS. anyone having trouble with W3, make sure you follow ALL of IMH instructions first, do NOT pay attention to RED BAR warnings when you install W3, do all of IMH steps above first. AND on some of my sites, using a fresh download of W3, W3 had extra ENABLES like CDN, Enable varnish cache purging, New Relic... i have no idea why/how these got auto checked but they cause all kinds of RED BAR warnings.
Staff
36,928 Points
2014-12-08 2:53 pm
Hello TheBoatPeople,

I am not quite sure what you mean by your CSS getting whacked. Do you mean it gets deleted? broken on the site? It should simply compress without any execution errors.

As for the cloning problem, have you disabled and re-enabled the perma links after getting that error? Perma links can be problematic and that usually fixes the issue. They are stored in the .htaccess file, so that may explain why that came up in your research.

Kindest Regards,
Scott M
200 Points
2014-12-10 3:12 pm
1. whacked i mean all the text, images, menu is present but the positioning and color get mixed up and most all images/text left justify. it would be nice you this forum allow attachments. the result is not proper for users to view. it looks like what you instructions above warn about "does not look normal". your above instructions warn of this but only mention to turn minify off if this happens, i'm inquiring if there is a solution to enable minify and have my site "look normal" as it did before the enable.

2. your suggestion worked on the Clone sites. i went to Permalinks and clicked Default > Save. then i clicked "Post Name" > Save, which i set all my sites to after i have them built. no more Red Bar error on permalinks. i don't know if Yoast helps this along to translate but all my urls end up being the Title of the page i created, which i want.

thank you very much cause searching i saw nothing pointing to that. though it was 4 clicks, 5 seconds, i would have never known to do that and i don't see how anyone in the world would! LOL except you!
Staff
32,263 Points
2014-12-10 4:51 pm
Hello Theboatpeople,

If the minification settings are causing problems, then you may need to contact the author of the plugin for help resolving that particular issue. This is a third-party product and fixing functionality of the plugin will need to come from the plugin's author. Check out their support page for the plugin for additional assistance.

Regards,
Arnel C.

200 Points
2014-12-10 3:24 pm
W3 - Green Bar warning - "It appears that activating the WordPress SEO extension for W3 Total Cache will be helpful for your site"

i can only find 3 results in google for this. user posted the same question i have, 5 months ago with no replies.

do you guys enable this?

thanks!
Staff
32,263 Points
2014-12-10 4:28 pm
Hello TheBoatPeople,

The setting for the W3 Total cache SEO is something we don't endorse or suggest you NOT use. It will be up to you if you want to use it or not. This is a third-party plugin and our recommendations would be based on its affect to performance of the website on our servers, but to our knowledge it will not have a significant impact.

Regards,
Arnel C
200 Points
2014-12-10 4:18 pm
what if there is no improvement of site performance, using http://gtmetrix.com as a bench mark? in fact one site i just enabled was
Page Speed Grade 85% - YSlow Grade 73%
then enabled W3
Page Speed Grade B 86% - YSlow Grade C 71%
if we see no improvement or reduction do you still recommend W3?

what do is normal, what do you guys get after enabling W3?

as i noted above, WP Fastest Cache did the best on my sites, upping 1 to 2 grades on all sites. i got As using Fastest Cache but B is the highest i get with W3.
Staff
32,263 Points
2014-12-10 4:39 pm
Hello TheBoatPeople,

Using caching of any type will vary depending on the website and the software used. We can't give you a flat statement that says "this is what will happen to your website when you use this plugin". There are too many factors involved. Performance of your website with caching can depend on your server settings, your website structure, your hosting plan, if you use content delivery networks (CDN), etc. If you find that the caching isn't working as well as you hoped, then you may need to experiment with the settings to see what best works for you, OR, you may want to try a different product. Apologies that we can't give you a direct answer, but you will need to work with the plugin in order to determine what works best for your website.

Regards,
Arnel C.
n/a Points
2015-01-18 8:33 am

I followed the steps above, however in step 11, above, my source of page message looks like the one below, instead. Does that mean some of the setup did not go through?

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/       Served from: the-other-f-word.com @ 2015-01-18 14:27:33 by W3 Total Cache -->
Staff
32,263 Points
2015-01-19 1:31 pm
Hello Bedzzled_b,

I reviewed the settings for W3 Total Cache and ran the latest install on a test site myself, but I'm seeing the summary indicating that caching has occurred. Either caching has not been enabled on your site (in spite of the plugin being installed), or the plugin's not working. If you're using the latest version of W3 Total Cache, there's a shortcut to turning on the caching in step 7. Click in the top box (under General Settings) labeled "Toggle all caching types on or off (at once)". Then click on SAVE ALL. It should enable the caching. Then double-check the page source again. You may also want to reference this WordPress support page: How to Ensure that W3 Total Cache is working. It gives you several suggestions that could help resolve the issue.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
n/a Points
2015-02-01 9:38 am

Hi there

I tried to follow the step, as mentioned and I got the following error messaes right there on the general settings page (and obviously no change in the page source notes.

Perhaps there is something more to the set up, in addition to the steps described in the post, that I need to perform?

(QUOTE)

New Relic is not running correctly. The plugin has detected the following issues:

  • PHP module is not enabled.
  • PHP agent is not enabled.
  • API Key is invalid.
  • Account ID is not configured.
  • Application ID is not configured. Enter/Select application name.
  • License key could not be detected.

Please review the settings.

(UNQUOTE)

Staff
36,928 Points
2015-02-02 4:23 pm
Hello bedazzled_b,

By the look of the error, the New Relic is the one having issues. Is there any error regardign W3 totcal cache? Or do you believe this error for New Relic is due to he Total Cache?

Kindest Regards,
Scott M
n/a Points
2015-04-17 10:55 am

In order to find the right CDN, i can recommend http://cdncost.com

It let's you easily compare CDNs

2015-04-27 12:00 pm
I have a HTTPS Wordpress site. Do I need to check?
Cache SSL (https) requests. Cache SSL requests (uniquely) for improved performance.
n/a Points
2015-05-02 1:25 am

Hi all,

After reading the article it seems that this plugin will be helpul. But if I take a look on the review, I get confused. Actually, I am running a video website and my question is, can I use W3 total Cache plugin on my website.

Staff
36,928 Points
2015-05-03 8:28 am
Hello Daniel,

You can use the plugin, though I'm not sure how it works with the videos. The pages themselves would be cached, however.

Kindest Regards,
Scott M
n/a Points
2015-05-04 3:58 am

Thanks for the suggestion Daniel,

I am going to use this plugin on my website and  hope it will work fine.

n/a Points
2015-05-15 1:32 am

I will try the above on my site ..seems to be work. thanks for sharing such an awesome post.

n/a Points
2015-06-03 3:01 am

Facebook Comments is not visible after I instaled W3 total cache. What I can do?

Staff
32,263 Points
2015-06-03 2:44 pm
Hello Kissti,

Unfortunately, the Facebook comments issue will need to be addressed by the plugin developer. If you're using a plugin to display Facebook comments appear, then you will need to speak with developer of that plugin in order to troubleshoot why the use of a caching software like W3 Total cache. You may want to try first disabling the plugin and see if it doesn't make your comments re-appear. You can then try re-enabling the plugin and then turn on sections of it on/off to see how it affects your Facebook comments.

I hope that helps to answer your question! If you require further assistance, please let us know!

Regards,
Arnel C.
n/a Points
2015-06-08 10:27 am

I do have to give some words of advice to anyone reading this. You should not be using Object Caching and Database caching if you have a basic news website or a blog. These are typically for very dynamic content such as having BuddyPress installed. Furthermore, you should be running them with APC not from disk because 1. It will cause a huge Inode increase and 2. It is not going to be that much if any speed improvement. These tasks are best run from memory because they are going to be loaded the fastest this way. 

 

Just thought it would be helpful. 

n/a Points
2015-06-24 2:41 pm

Hi there,

I have found few issues or lack of understanding of W3 Total Cache Plugin. Below you have a list of them:

#1. Coexistence with The Events Calendar (3.9.3) plugin - How to exclude pages related to The Events Calendar from caching? My 'Never cache the following pages' contains:

wp-.*\.php
index\.php
/events/
/events/*

but it looks like is not working at all - Events page is cached and must be purged manually to display current day or newly added event

- How to "autopurge" selected/dynamic pages? W3 Total Cache FAQ states that "They never stop being dynamic, we just don’t create pages that have not been changed. If you have a page that updated frequently in your blog before, it will still remain up-to-date at all times." which is my case is not true - for an example home page has Events section which is not up to date till I will purge that page manually. Can I setup WP Cron to purge all cache on selected time to avoid manual purge each day?

#2 Browser Cache - It seams that some browsers requires to use manual cache reload to get up to date pages after purge. Why?

#3 Page Cache - If I run a site on a dedicated server (linux) which option should I reconsider?

#4 Database Cache - Not sure how it should to work. My expectations are that will cache WP queries but simple I don't see that to be done at all. Any clue?

 

#5 Cache to memory

- How to get that to wor?

Thanks

Staff
32,263 Points
2015-06-24 10:26 pm
Hello Adam,

Check-out of the the different seetll



#1. Coexistence with The Events Calendar (3.9.3) plugin - How to exclude pages related to The Events Calendar from caching? My 'Never cache the following pages' contains:

wp-.*\.php
index\.php
/events/
/events/*
but it looks like is not working at all - Events page is cached and must be purged manually to display current day or newly added event

- How to "autopurge" selected/dynamic pages? W3 Total Cache FAQ states that "They never stop being dynamic, we just don’t create pages that have not been changed. If you have a page that updated frequently in your blog before, it will still remain up-to-date at all times." which is my case is not true - for an example home page has Events section which is not up to date till I will purge that page manually. Can I setup WP Cron to purge all cache on selected time to avoid manual purge each day?


Caching is basically the act of saving something in memory so that it can be loaded from there instead of having to "re-create" a page on the fly- all for the purpose of speeding up the dff. There are thousands of plugins and websites out there, if you have maybe one page on your site that is being cached unnecessarily, would it benefit your web server resources to ignore that cached page, or do you spend the time to create a cron job (which also requires resources to run at a certain time). If it's a single page, I would say leave it be, unless you're seeing that one page causing a serious problem in the performance of your webpage. Also, the plugin does the work for you...meaning, if the page is being commonly requested, it will be cached. If it's NOT being commonly requested, then it won't be cached. If it's constantly changing it won't be cached. If it's not working due to a plugin or other quirk, you will need to bring that issue up with the authors of the plugin. They would be better equipped to provide you a reason and possibly a solution.


#2 Browser Cache - It seams that some browsers requires to use manual cache reload to get up to date pages after purge. Why?

This may differ from browser to browser and computer to computer, but in general, browsers use caching to speed up the loading of web pages. It's pretty much standard practice - but the reason is simple: speed up the loading of a web page. After a purge, it'll must often cache what's considered the "home" page for the user's browser.


#3 Page Cache - If I run a site on a dedicated server (linux) which option should I reconsider?

If you run on a dedicated server, then ALL of the server's resources will be dedicated to the running of your site. Checkout the link at the bottom of this response. You'll find more details about setting up for a dedicated/vps versus a shared server. You would probably use LESS of the caching than more since you have more resources dedicated purely for your site.


#4 Database Cache - Not sure how it should to work. My expectations are that will cache WP queries but simple I don't see that to be done at all. Any clue?

WordPress uses a database in most of its operations. The database caching simply caches common queries so that the database is less burdened with that task. If you want to know HOW it works, you'll need to write to the programmers of this plugin. If were to guess at it, I would say that anytime WordPress has to address the database, there is an EVENT that it generates in order to communicate with the database. The plugin notes these common events and caches the query result. For example, if a specific post in WordPress is being constantly viewed, the database is being queried and the RESULT of the query is to pull the data for that post FROM the database. Instead of having to run that query AGAIN, the plugin caches it, so that the next request for the page does not involve the query of the database, it simply pulls the result from the cache. Mind you - I'm not sure of the EXACT sequence of events on the caching, but that is probably the general concept of how the database caching is working.


#5 Cache to memory

Basically, this setting would be utilizing the memory available in RAM for you account. I would recommend leaving this to a default setting. This would be more of a factor if you have a dedicated server and your sever resources are dedicated to your website. (php.ini memory setting).

There SOOOO many different articles on this tool that take in a more comprehensive look at the settings. Check out these for more info:

  • Using W3 Total Cache to help Make sure to check the different links!


  • Caching with W3Total Cache often depends on the the web resources and the website itself.

    I hope these answers help to configure the plugin for your needs. For more specific settings of the plugin, you'll need write to the authors of the plugin, or checkout one of the many guides for more details.

n/a Points
2015-07-11 12:11 am

Is the really increase your web site speed and PageSpeed Insights?? because i use this for a long time but i cant see any effect

Staff
36,928 Points
2015-07-13 11:45 am
Hello Pratik,

Caching should definitely increase your site's speed. It is not the only thing out there that can help, but it is normally one of the best things to use.

Kindest Regards,
Scott M
n/a Points
2015-09-15 5:38 pm

Hello,

I want to enable gZip compression on my site pallareviews.com. How to do that?

Staff
32,263 Points
2015-09-16 10:26 am
Hello Palla,

You shouldn't have to enable gZip compression as it is enabled on our servers already. You can find more about it by going to this article: An introduction to gzip / mod_deflate.

I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.
n/a Points
2015-09-16 8:49 am

Is it also worth noting that enbaling object cache can really have adverse affects on your Wordpress Admin experiance?

Staff
32,263 Points
2015-09-16 10:23 am
Hello Blake,

I don't see many negative comments on enabling object cache. However, there are many other things that you can do to help optimize WordPress. If you have any further questions or comments, please let us know.

Regards,
Arnel C.
n/a Points
2015-09-26 1:33 pm

Would there be any benefit to avoiding the plugin in terms of choosing NOT to have it configure my .htaccess and any other data transfer protocol that needs attention?  Currently working as a developer, focusing a lot of time on performance now that my clients eCommerce site it about to go live on one of Advanced Dedicated Servers.  I had set up my own custom .htaccess and then simply placed the WP Super Cache plugin on the back-end (DEACTIVATED) on the offchance that I'm not around and a designer wishes to purge the cache (via the "delete" button that this plugin offers) to see some major change that they might have made to the site.  

I'm curious if there is some helpful technique or practice that I might be missing here...

Staff
36,928 Points
2015-09-28 1:52 pm
Hello James,

To be honest, we haven't tried that so we do not know of any. Give it a test run and see how it works for you.

Kindest Regards,
Scott M
n/a Points
2015-10-08 5:23 pm

I did as you instructed but my homepage still shows this? what can i do to solve this issue? pls help, it will be great if you give short instruction for me to understand.

here's the image link about what error it shows,

http://postimg.org/image/c1jlz7ucj/

if i refresh the page 2/3 times it gets back to normal but users are complaining.

Staff
22,952 Points
2015-10-08 5:36 pm
Hello stickkk,

Thank you for contacting us. We are happy to help, but will need some additional information since I did not see any previous questions from you. Are you following the above guide?

Can you provide the steps you are taking to see this error?

Thank you,
John-Paul
n/a Points
2015-10-09 3:06 pm

Yes the above guide is the one I followed I checked and unchecked whatever the above pictures showed, and others settings are default, I didn't touch them, through page source of my homepage shows this at the end too.

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk

Page Caching using disk: enhanced

Database Caching 1/14 queries in 0.656 seconds using disk

Object Caching 1822/1830 objects using disk

Served from: animestick.me @ 2015-10-09 18:36:37 by W3 Total Cache -->

The page error it is showing is actually from a anime-plugin I'm using, whenever I change my domain and i need to get the license for the new domain and wait for it to get accepted but till the new domain get accepted my homepage will show this error " Oops, something is wrong with our website right now----XHC WPA" <- that dialogue. But I already got that anime plugin's license so this dialogue shouldn't be showing on the homepage anymore, but once WTA caught it, its not going away. you will see that from time to time whenever you visit the homepage, Not always but 2 or 3times if you refresh the page 10 times once in a day. Some people said its the wordpress theme's problem but I'm not convinced by it. By the way I have another site which is using WTA as well , and from time to time it gives "404 nothing found" error on that site's homepage which I coded for non-working links. 

Staff
36,928 Points
2015-10-09 3:17 pm
Hello Stickkk,

I do not see that error when visiting your site. Have you tried clearing the cache for the W3TC plugin so it has to rebuild it? This should clear the issue if it has indeed been cached.

Kindest Regards,
Scott M
n/a Points
2015-10-10 7:49 am

Hello scott , I tried the option which suggests "empty all catche" from the plugin ,  but I still get that error, also some of the users are the getting the same issue, may be because you never visited my site but those who visited before i changed my domain are having this problem, but I'm not sure if new visitors are getting that or not.

2015-12-05 5:07 pm
hello, do you men that w3 cache doesn't work in m,ultisite, cose if i am not wrong i have used it with multisite not so long ago...
n/a Points
2016-03-30 7:54 am

Hello, I have enabled browser cache W3 Total Cache plugin, but in google analytics site speed suggestions it is still showing. Any reason why this could be happening?

Staff
32,263 Points
2016-03-31 12:52 pm
Hello Kirk,

There may be some settings that need to be set within W3 Total cache in order for it to be detected by Google page speed. Check out this article for an example of this isue.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
Staff
22,952 Points
2016-03-31 12:56 pm
Hello Kirk,

Thank you for contacting us. It may take some time for Google to crawl your site and update their information.

You can ask google to reconsider crawling your site within Webmaster Tools. This should allow them to see your updated site.

Thank you,
John-Paul
n/a Points
2016-04-28 7:45 am

Hi,

I'm a VPS user. my site -***********.org.

Can you tell me the optimal settings for W3TC and VPS and MaxCDN. without site breaking .

 

What Opcode should I use for IMH vps.??

Staff
22,952 Points
2016-04-28 9:46 am
Hello Palla,

Thank you for contacting us. It is difficult to say without looking at the specific nature of your websites, and how they are coded.

I recommend starting with the setting specified in Step 10 above, and monitoring/reviewing the server, and website performance.

We also have a helpful guide on How to Optimize WordPress.

Thank you,
John-Paul
n/a Points
2016-05-18 12:09 am

What about the miscellaneous option 'Optimize disk enhanced page and minify disk caching for NFS'? Do shared hosting use a network based file system? Should we enable it?Thank you in advance

Staff
32,263 Points
2016-05-18 1:35 pm
Hello Emanuele,

That option will not work on our servers, so it should not be enabled.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

74 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!