Cache rule issue - not being hit

What is the name of the domain?

sprintvisa.com

What is the issue you’re encountering

Cache Rules not being used right?

What are the steps to reproduce the issue?

Hi,

I have the shown cache rule as in attachment placed on top, with edge cache ttl and browser ttl set to 1 month.

As per the said rule shouldn’t https://media.sprintvisa.com/media-dash/country_promo/skyscrapers-5838029_640%20(1)-1726469739.webp have a TTL of 1 month, looks like it isn’t working. What am i doing wrong?

Please advise. Thanks.

Currently I can see:

cache-control: max-age=31536000
cf-cache-status: HIT

When you enable the Development Mode, what HTTP caching headers you get?

If you switch for the URI with the URI path and change starts with to contains media-dash (no need for start slash /), Purge Everything, and check again, does anything change? :thinking:

Furthermore, since the sub-domain is media.domain.tld, so the Cache rule applies exactly for the hostname, if you switch starts with for the Hostname with the equals, Purge Everything, and check again, does anything change? :thinking:

Nevertheless, regarding Cache, under the Caching → Configuration, what you’ve got set for Browser Cache TTL? Is it set to “Respect Origin Headers” or?

Were the images cached since before, therefrom the HTTP caching headers are cached and you might have to Purge Everything to flush this?

Any other Cache Rule or it’s this the only one and first from above on the list?

Did you used Page Rules since before?

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