Ad non Sense. Net

for the smart webmaster…

Archive for the 'htaccess' Category...

Filed under All Categories, Tips, Tricks and Secrets, Webmaster, htaccess

By setting an expiry time for the files on your Web site, you can go even farther than merely log.pngrelying on the conditional GET and the 304 response that a server sends when a file has not changed; you can prevent the contact with the server from happening at all. CacheRight uses some of the more widely used expiration cache related alternatives to the ETag, namely the Expires header and the Cache-control header. By setting an expiry time for the files on your Web site, you can go even farther than merely relying on the conditional GET and the 304 response that a server sends when a file has not changed; you can prevent the contact with the server from happening at all. If a browser receives an image with the cache control headers that say the image can be considered fresh for 2 weeks, then for 2 weeks the image can be pulled directly from the browser’s (or proxy’s) cache on subsequent requests. This is noticeably faster than even a conditional GET and a 304 response from the server since there is no round trip. After two weeks, a conditional GET would be sent to the server to check the Last-Modified date, then again, no requests would be made for the duration of the specified freshness period.
(more…)

Comments Off Posted by adsensical on Wednesday, December 6th, 2006

Filed under All Categories, Webmaster, htaccess

.htaccess files provides us with ways to make configuration changes on a per-directory basis. This font.pngfile works well in Apache Web Server and on Linux/Unix. Also, it works on Windows based system with Apache Web server.

There are several things that developers, site owners and webmasters can do by using .htaccess file. Let’s look at some of them (more…)

Comments Off Posted by adsensical on Wednesday, November 15th, 2006