• I am using a self-hosted CDN (a subdomain) and, even though I have “Set entity tag (eTag)” disabled in the Browser Cache page, YSlow is reporting that I have “4 components with misconfigured ETags”. If I view the headers of the files hosted on my self-hosted CDN in the Components tab of YSlow, it shows them as each having their own ETag.

    According to Yahoo, “if you’re not taking advantage of the flexible validation model that ETags provide, it’s better to just remove the ETag altogether.”

    How do I do that? It doesn’t appear that the option in the Browser Cache page is working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It could be there are ETag code in your htaccess file.
    Its code that for example looks like this if added by Total Cache:
    <FilesMatch “\.(css|js|htc|CSS|JS|HTC)$”>
    <IfModule mod_headers.c>
    Header set Pragma “public”
    Header append Cache-Control “public, must-revalidate, proxy-revalidate”
    </IfModule>
    FileETag MTime Size
    <IfModule mod_headers.c>
    Header set X-Powered-By “W3 Total Cache/0.9.2.4”
    </IfModule>
    </FilesMatch>

    Make sure to to backup your htaccess file before cleaning it.

    @driklyn, it’s hard to guess what that issue is without knowing first if the files are self-hosted or not. Can you specify?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: W3 Total Cache] Removing ETags’ is closed to new replies.