-
-
Top News
- Sharing MTS USB internet with other computers
- Solution for Network Cable Unplugged
- NextGEN Gallery causing Page Not Found error and Duplicate content pages
- Using Binatone Router with BSNL Broadband Connection
- BSNL Broadband DNS Servers
- Some websites not working with BSNL broadband connection
- jQWizard Version 1 Released
- UPS for Wireless Router or Modem
- Admagnet Review
- PHP coding conventions
htaccess Archive
-
Adding Expires Header using Htaccess
Posted on September 27, 2010 | No CommentsAdd the following lines to the .htaccess file <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|bmp|js|css|swf)$"> Header set Expires "Thu, 14 Apr 2016 20:00:00 GMT" </FilesMatch> To check whether this is working, use Google PageSpeed or... -
Enable Gzip Compression using Htaccess
Posted on September 27, 2010 | No CommentsAdd these lines to the .htaccess file. AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE...

