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

Htaccess to block ip

Websites are naturally geeks guinea pig . You will get much more spam if you get a website to comment or something . They just don’t stop . Try and try . You will find it very much annoying . You can pause them . Not stop but it will give you peace i think . Now open any text editor and Continue reading Htaccess to block ip