Cache your WordPress with WP-Cache

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.

<?php
$success = symlink('/path/to/website/wp-content/plugins/wp-cache/wp-cache-phase1.php', '/path/to/website/wp-content/advanced-cache.php');
if ($success)
echo "Symlink was created";
else
echo "Symlink creation failed!";
?>

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)

Comments

  1. 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. Ha3. My mistake. I have edit the post. Thanks for the heads up.

  3. 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. siyes.. boleh try nih

  5. Try it. It surely will improve the speed.

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

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

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

  9. I’ve been browsing online greater than 3 hours these days, yet I by no means found any fascinating article like yours. It¡¦s beautiful value enough for me. Personally, if all webmasters and bloggers made just right content as you probably did, the net will likely be a lot more helpful than ever before.