Site Performance tutorials and examples

How to install and run Chrome PageSpeed insights for measuring site performance

Page speed insight is a browser extension (Chrome and Firefox) which can be used to measure a website performance. It is an indispensable tool if read more

How to use Google custom search with lazy loading approach

If you have Google adsense account then you can use Google custom site search for your website. I’m using it on a wordpress site but read more

How to install and monitor memcache for php on Ubuntu Linux

Memcache is one of the most popular distributed memory based cache system. It can give excellent performance results if configured correctly. Its a good idea read more

Internal vs external css

There are two ways to include a css on a site. In case you are using a wordpress site, many plugins involving frontend ui element read more

Javascript in header vs footer

Javascript should be placed in footer of html document wherever possible. For libraries like jQuery we don’t often have a choice as there may be read more

PHP apc – setup and performance benchmarks on Ubuntu Linux

APC (Alternative php cache) is opcode and object cache for php. It caches the php bytecode on first execution of a php script which increases read more

Php apc vs memcache

When you are running a site in php (wordpress or non-wordpress), there are two popular options for in-memory cache. APC (Alternative PHP cache): Opcode and read more

PHP – how to use inline image for better site performance

For small images it is a good idea to embed inline images using img src value data:image/png;base64. This will prevent one extra round trip to read more