GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anyone tried turning off ETags? (https://gfy.com/showthread.php?t=1083531)

wehateporn 09-30-2012 08:36 AM

Anyone tried turning off ETags?
 
To speed up their site (a bit)?

http://www.askapache.com/htaccess/ap...eed-etags.html

"By removing the ETag header, you disable caches and browsers from being able to validate files, so they are forced to rely on your Cache-Control and Expires header. Basically you can remove If-Modified-Since and If-None-Match requests and their 304 Not Modified Responses.

Entity tags (ETags) are a mechanism to check for a newer version of a cached file. "

wehateporn 09-30-2012 08:38 AM

This is one way to do it according to that article

Turn ETags Off ^

This goes in your root .htaccess file but if you have access to httpd.conf that is better.

This code uses the FileETag and the Header directive to remove all ETags from being sent.

---------------

Header unset ETag
FileETag None

--------------

Markul 09-30-2012 09:47 AM

Good... bad?

- Jesus Christ - 09-30-2012 10:21 AM

Unless you are pushing a massive amount of traffic on seriously underpowered hardware it isn't going to speed anything up. This is coming from a guy who has etags off and even uses the directory block in httpd.conf so his .htaccess rules are precompiled.

Over tweaking is often nothing more than us trying to find ways to avoid real work.


All times are GMT -7. The time now is 10:45 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123