configuring e-tags

前端 未结 8 1398
有刺的猬
有刺的猬 2021-02-01 15:49

I am using Yslow as a simple speed benchmarking tool and I came across a really confusing concept. The E-tag

So the main problem is : How do I configure E-tags? my grade

8条回答
  •  情深已故
    2021-02-01 16:19

    Assuming you are running Apache...

    You can set up a simple ETag like this:

    FileETag MTime Size
    

    If you have multiple servers, you want to disable ETags.

    FileETag None
    

    Put the above code in your httpd.conf (if you have access), otherwise you can put it in .htaccess.

提交回复
热议问题