Bundle CSS to Load Page Faster

A test with a simple HTML page over a DSL connection shows that one big stylesheet or css of 50 KB can speed up load time by factor 2 compared to five stylesheets that are 10 KB each in size:

  • 5 Stylesheets (10KB each): 1100ms
  • 1 Stylesheet (50KB): 500ms

So , How to make them one without breaking or editing them ? I am going to show you how to do this . Continue reading Bundle CSS to Load Page Faster

Browser Caching with htaccess

Browser caching is a good idea to make/feel your site speedy . Your sites visitors will find it much speedier after first visit . If you test your page in pingdom and google speed analysis tool you will see a recommendation there to enable caching . That is why i am sharing this . Continue reading Browser Caching with htaccess

Caching with Varnish

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP, unlike other proxy servers that often support FTP, SMTP and other network protocols.

Here , I will explain how to get varnish in front of apache2 or accelerate apache2 with varnish .

Continue reading Caching with Varnish