How to Increase Website Load Speed

speed

Last but absolutely not the least. CACHE!

A cache is a component that transparently stores data so that future requests for that data can be served faster (from wikipedia – http://en.wikipedia.org/wiki/Cache_(computing)). Caching is an extremely powerful technique to make your website load very fast. For this article, we will use WP Super Cache plugin. I chose this plugin among other else because it simply works, easy to configure and is not bloated.

The configuration I used are the following:

“Easy” Tab
–    Caching (On)

“Advanced” Tab – The following listed below are the ones checked

  • Cache hits to this website for quick access.
  • Use mod_rewrite to serve cache files
  • Compress pages so they’re served more quickly to visitors
  • Cache rebuild.
  • Mobile support

For now that will do, to check if the cache is working. Try to your website’s home page and if you “View the source” you should see something like

<!– Dynamic page generated in 0.333 seconds. –>

<!– Cached page generated by WP-Super-Cache on 2013-12-19 04:02:20 –>
<!– Compression = gzip –>

If you see something like the above, it means that your web page is cached and being served to you and your visitors.

NOTE: You won’t notice a significant difference in speed the first time the page is loaded. It might actually load a little slower because this is when the cache is first built. The cache generated will be then served to the next visitors visited the page.

Now to see the page load time when caching is enabled and the cache is served.

rsworkers-pagespeed-5

WOW! Based on the image above the results are:

  • Total number of requests reduced from 43 to 37
  • Total file size of the web page is reduced from 640kb to 98.2kb
  • “DOM”-loaded time reduced from 3 – 4.5 seconds to less 0.6 – 1.2 seconds!

Author: Michael Joseph Panaga

I am a programmer enjoying development using C#, C++, PHP, MySQL, Javascript and more. I can also play different kinds of music instruments and a hardcore gamer.