Having WordPress site which received massive traffic hits could make a trouble, I said again… a BIG TROUBLE. This happen to me many times. Hosting provider seems don’t like when their client use wordpress but they continue promoting their hosting support for wordpress. In this short articles I will write short review about wp super cache and some configuration you may need to set it up.

Each hosting provider have they own rules. Especially for people stay in shared hosting. Example you may not pass blablabla percent server load, blablabla, and another d*mn blablabla… I read in a secret forums, technical claims if 500 static (html) site may perform better than 1 dynamic site with bad coding on it. That’s the problem why they don’t tell us from the first time…

Using wp super cache we can make our wordpress dynamic site become static. Actually it not 100 percent become static, We still can set anything needed to make it semi dynamic. If VPS/COLO/DEDICATED is not possible option for you at the moment keep reading this article.

Because of limitation we need to setup semi dynamic site. What is benefit we got from this changes?

  1. Your pages load faster! Search engine today using this factor to give score for your SERP.
  2. Your server load do the opposite from high load. Because all cached files are in HTML format and server no need to run PHP for all the time when there is hit to that pages. Your hosting provider will smile… (Yeah because they can got more client to put on that shared server, more money mean LOL)
  3. Your visitors/readers will be happy because they can find what they need faster (oh yeaaaaaaH)
  4. You can sleep and dreaming about world domination… LOL

Enough for that LOL thing, now let’s talk about setup and configuration for wp super cache.

  • First make sure you uninstall every cache plugin you may have. Example: db cache, total cache or whatever cache plugin you may have…
  • Next login into your wordpress admin page and add new plugin search for “wp super cache” install it and activate the plugin, If you need to do it manually search on google how to install wordpress plugin.
  • Next go to settings -> wp super cache.
  • Don’t waste time on Easy tab just move it to Advanced tab… Tick this option: 1. Cache hits to this website for quick access. (Recommended) 2. Use mod_rewrite to serve cache files. (Recommended) 3.Compress pages so they’re served more quickly to visitors. (Recommended)
    Compression is disabled by default because some hosts have problems with compressed files. Switching it on and off clears the cache. 4. Don’t cache pages for known users. (Recommended) 5. Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated. (Recommended).
  • Next, optional… If you are using some mobile plugin (Example: wp mobile pack) you need to tick on “Mobile device support. (External plugin or theme required. See the FAQ for further details.)
  • Next, I think it’s better to NOT tick this option “Clear all cache files when a post or page is published or updated.” If you’re have a lot of dynamic page this will set everything become NULL and you start creating cache from zero again when you update your content. It’s bad because your server load will high if you update your content frequently.
  • Next tick options “Only refresh current page when comments made.
  • Click on Update Status and then Click on update mod_rewrite Rules. Since we are using mod rewrite to serve cache files we need to take care for .htaccess files on domain root folder and /wp-content/cache.
  • Next Set expiry time & garbage collection, If you want cache stay for 1 hour you have to put 3600 seconds on cache timeout, In the scheduler you can set the time or do it once a day.
  • Everything is set now logout from your wp admin page and try to load your homepage. View the code and look at the bottom page, If you’re see something like… <!– Dynamic page generated in 1.005 seconds. –><!– Cached page generated by WP-Super-Cache on 2012-02-27 09:08:42 –><!– Compression = gzip –> Then your setting has been right, Congratulation! check your cache files on /wp-content/cache/supercache/(yourwebsite).
  • If you meet problem when cache files not generated, use debug and read the log. I have stupid funny case cache not generated because html tag not closed yet, I just put close html tag and voila it’s works.

This is my standard settings and you still have option to choose which setting fits you need. That’s it for today, I wish everyone have a great day 😀

Similar Posts:

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS

If you're new here, you may want to subscribe to my RSS feed. You may copy or publish this article to your blog or other site as long you give credit link back to this site article. Thanks for visiting my blog!