Gavin Chan's Official Website

1Mar/110

How not to take an I.T interview

Source: Microsoft Showcase - I.T Interview Gone Wrong

19Dec/100

Laboratory Cannon Prank

Laboratory cannon prank

Laboratory cannon prank

Source: Gif Bin

Filed under: FunnyNo Comments
9Nov/101

Wake Up Call

Auto Wake Up Gif - Auto Wake Up

Wake Up Call

Filed under: Funny1 Comment
26Oct/100

WordPress Cache Plugins – Compare by Memory Usage

This post was posted to help you decide which popular WordPress Cache plugin is best for you. There are many of these cache plugins for WordPress lying around in the "Wordpress Extend Database". To keep this post nice and short and to help you make a decision. I am only showing the three popular cache plugins, which includes Hyper-CacheW3-Total Cache and WP Super Cache.

TPC! Memory Usage

However, if you have your own list of cache plugins, you may also test the memory usage by using a plugin called TPC! Memory Usage. After installation and activation of TPC! Memory Usage plugin, you may start testing variety of cache plugins. Sometimes, it may also be good to test out other plugins. This will let you see how much memory each and every plugin is using. After installation and activation of the TPC! Memory Usage plugin, you will get a similar widget on your admin dashboard, similar to the one shown below:

Initial Memory Usage

Initial Memory Usage

Finding out each and individual plugin's memory usage can be done easily. This can be achieved by collecting the initial memory usage, deactivating an activated plugin and then do a simple subtract of initial usage sample and taking the usage sample after deactivation of a plugin. This is particular useful when you want to upgrade a plugin. If you get a fatal error message, you can deactivate the plugin until you have the right amount of memory.

Hyper-Cache

Hyper-Cache Memory Usage

Hyper-Cache Memory Usage

First up is Hyper-Cache. There are a lot of positive comments about this plugin. However, I did not even manage to get this plugin to cache my website. The cache folder was always empty, even after changing the folder permission to 777. If you think you have a solution, please let me know! As you can see, Hyper-Cache only uses <1% of the memory and if you do the simple maths, Hyper-Cache only takes up 0.09MB out of the 32MB that I have for WordPress. Like I have previously said, I have not used this plugin much due to it not working for me and I don't know for sure the full potential of this plugin. But your feedback would always help others.

W3-Total Cache

W3-Total Cache Memory Usage

W3-Total Cache Memory Usage

Secondly, is W3-Total Cache. W3-Total Cache do its job very well because you would have more control of caching what is on the website. This includes caching from objects to web pages of a website. The plugin also allows you to enable CDN abbreviated for Content Delivery Network. Straight away, we can tell that this plugin would use more memory than Hyper-Cache because it has more features and functionality. As for numerical terms, W3-Total Cache plugin uses 2.83MB out of the possible 32MB of memory given by WordPress. This uses 2% of your overall memory in the WordPress system itself. Does it job properly, highly configurable, but much more resource intensive than Hyper-Cache.

WP Super Cache

WP Super Cache Memory Usage

WP Super Cache Memory Usage

Finally but not the least is WP Super Cache. Once again like W3-Total Cache, it is highly configurable but not as much features. For example, WP Super Cache does not have the CDN functionality, which can become very useful to high traffic websites where your visitors will come from different parts of the world. Doing the maths, WP Super cache uses 1.56MB out of the possible 32MB of memory set by WordPress. That is 1% of the memory used just for activating the plugin. Less features and functionality in this plugin compared to W3-Total Cache, but less memory is required.

Summary

Obviously, we are all on limited amount of resource (no such thing as unlimited resource). Unless we pay more money for more resources, it can also be resolved by choosing the appropriate plugin caching our website. Below, I have compiled a simple comparison of the memory usage for the cache system mentioned previously.

Name: Hyper-Cache
Required Memory: 0.09MB/32MB (<1%)

Name: W3-Total Cache
Required Memory: 2.83MB/32MB (2%)

Name: WP Super Cache
Required Memory: 1.56MB/32MB (1%)

However, This does not mean W3-Total Cache uses more memory, therefore it has more features and functionality, therefore it is the best. That is not the case. It is how you use the features that comes with the plugin. For example, if you're not expecting too much traffic, what is the point of using CDNs?

Remember, every single resource is important. Make it count and make the most out of it.

24Jul/100

Windows Vista and FileZilla.xml

Ever wondered where FileZilla.xml file is on Windows Vista? Have no fear now, as I, Gavin, has the answer to this.

Your very first question is: what have I done wrong? The answer to that is not you. It is Windows Vista.

So. You will need to browse all the way to the FileZilla program folder located at:

C:\Program Files\FileZilla

If you locate the button called "Compability Files" (highlighted in the screenshot below), the operating system should look for the file you are looking for right away.

Finding FileZilla.xml on Windows Vista

Finding FileZilla.xml on Windows Vista

There you go! You have found FileZilla.xml on Windows Vista.