Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I put the lines below into httpd.conf to turn off ETag

Header unset Pragma
FileETag None
Header unset ETag

And I restarted apache2. However, when I checked the header, it still shows ETag:

# wget --server-response --spider http://mydomain.com
  HTTP/1.1 200 OK
  Date: Fri, 21 Feb 2014 22:02:22 GMT
  Server: Apache
  ETag: "59445c47e27b8f3c905f4ae5bc2828fe"
  Cache-Control: max-age=0, private, must-revalidate
  X-UA-Compatible: IE=Edge,chrome=1

What did I miss?

Thanks.

Sam

share|improve this question
    
ETag is only for file-based request. My site is running on Ruby on Rails. It's not file-based. So I tried it with requesting a physical file and the ETag was not displayed. –  Sam Kong Feb 26 at 8:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.