Follow Me on Twitter!

I am running WP-Cache plugin on this website. Since I use it on my website, I can feel the difference. The time taken for my website to load up is much faster when I using it.

WP-Cache is a plugin that will cache your Wordpress and stores them to static files. When a page is requested, Wordpress will load the static file instead of compiling the PHP code and building the page from the database. This will really reduce the time from several tenths of seconds to less than a milisecond as said by the plugin author, Ricardo Galli Granada.

The installation is not really difficult but you might having a problem to create the symbolic link because you need to have a shell access to do it. But thanks to Torkil Johnsen for sharing this method to us.

To create the symbolic link,

1. Copy the PHP script below into a blank PHP file and name it as createsymlink.php. Make sure to replace “/path/to/website/” with your real website path.

  1.  
  2. <?php
  3. $success = symlink(‘/path/to/website/wp-content/plugins/wp-cache/wp-cache-phase1.php’, ‘/path/to/website/wp-content/advanced-cache.php’);
  4. if ($success)
  5. echo "Symlink was created";
  6. else
  7. echo "Symlink creation failed!";
  8. ?>
  9.  

2. Upload it to your root and make your wp-content folder is writeable.

3. Then run the script from your browser. Eg: www.yourdomain.com/createsymlink.php

4. Finally, delete the file from the server.

Let’s see how much times taken for your website to load up when using this plugin. ;)

Download WP-Cache (version 2.1.2)

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Subscribe me feed! If you enjoyed this article, get latest updates via RSS feed or by email.

8 Responses to “Cache your Wordpress with WP-Cache”

  1. Andy
    November 7th, 2007 | 11:31 am | Reply

    Great tutorial. Thanks bro..

    but refer to what u mentioned here..

    "..The time taken for my website to load up is much faster without using it.."

    U mean, your site load faster without using the plugin? or compare to without using it?

    Just to clarify. :)

  2. CypherHackz
    November 7th, 2007 | 11:52 am | Reply

    Ha3. My mistake. I have edit the post. Thanks for the heads up.

  3. Andy
    November 7th, 2007 | 12:05 pm | Reply

    It's ok man. A bit curious only. It makes me don't-wanna-use the plugin. Almost lar. :) Heh.

    Hoping something new from you more.

  4. od3n
    November 7th, 2007 | 2:55 pm | Reply

    siyes.. boleh try nih

  5. CypherHackz
    November 9th, 2007 | 8:35 am | Reply

    Try it. It surely will improve the speed.

  6. prinepsype
    March 4th, 2009 | 5:30 am | Reply

    Да уж. В этом блоге хоть комментаторы нормальные.. А то пишут обычно в комментарии ерунду всякую.

  7. assoppyMeafe
    April 27th, 2009 | 8:47 pm | Reply

    Да, похоже что в действительности – так оно и есть. P.S. Сайт, кстати, у вас прикольно сверстан

  8. bipaddebramip
    June 6th, 2009 | 8:22 am | Reply

    Да, действительно. Всё выше сказанное правда. Давайте обсудим этот вопрос.

Leave a Reply