Purge single file not work

Hi,guys!
This is my first time using Cloudflare. I do searched the whole internet to figure out the problem, but un fortunately, failed. Please help.
Everything is cached and refreshed if I press “purge everything” button on the Cloudflare.com.
When I changed a single file on my origin server, then press “Custom Purge” button on the Cloudflare.com, and then input the full file URL, it mentioned me “Successfully purged assets. Please allow up to 30 seconds for changes to take effect.”. Meanwhile the " Browser Cache Expiration" option is “Respect Existing Headers”
But 30 minutes later, the file is still the old via Chrome even I clicked the “Disable Cache” option. Here is the response header of the request:

  1. Age:

3025

  1. CF-Cache-Status:

HIT

  1. CF-RAY:

4fd66d3be825d93e-HKG

  1. Connection:

keep-alive

  1. Content-Encoding:

gzip

  1. Content-Type:

application/javascript

  1. Date:

Sun, 28 Jul 2019 11:13:57 GMT

  1. ETag:

W/“1772-1564308160000”

  1. Last-Modified:

Sun, 28 Jul 2019 10:02:40 GMT

  1. Server:

Cloudflare

  1. Transfer-Encoding:

chunked

  1. Vary:

Accept-Encoding

Please double check that the URL is identical to what’s being accessed. I’m pretty sure it’s a mismatch. You can type just about anything into that Custom Purge and it will say it was successful.

2 Likes

Thank you for your replay :-), em… there’re hunderds of static js files on a tomcat server, without any reverse proxies such as Nginx between the original server and Cloudflare.I don’t know how to check:-(
Could u plz tell me the way?

This topic was automatically closed after 31 days. New replies are no longer allowed.