I have a website (e.g. http://example.com ) that uses Cloudflare. Nothing special, no weird page rules, no weird settings, free plan.
When I go to http://example.com , I get this answer for GET http://example.com :
Cache-Control:no-cache, must-revalidate CF-RAY:2b8d0490837f2828-SJC Connection:keep-alive Content-Encoding:gzip Content-Type:text/html; charset=UTF-8 Date:Sun, 26 Jun 2016 01:52:05 GMT Expires:0 Pragma:no-cache Server:cloudflare-nginx Transfer-Encoding:chunked Vary:Accept-Encoding X-Powered-By:Express
Please note that the response does not have an ETag header, even if it is enabled on my source server.
When I go directly to the source server, for example, GET http://01.23.456.789/ , I get this answer:
Accept-Ranges:bytes Cache-Control:no-cache, must-revalidate Connection:keep-alive Date:Sun, 26 Jun 2016 01:56:53 GMT ETag:W/"4cf8-1558a5557a0" Expires:0 Pragma:no-cache X-Powered-By:Express
Does anyone know why Cloudflare will not forward the ETag header? How can I get Cloudflare to forward ETag? Cloudflare does not cache the default GET request http://example.com , as this is an HTML page.
source share