Stale static Resource bug

Hi,

Today I have identified a possible bug in Cloudflare system. When cf-cache-status is Hit. Some of the static cache resources saying * It appears that the Date header has been changed by an intermediary. and it has an age header present. which is causing resources to become stale immediately.

According to this page if an intermediary (cdn) is changing date it should omit Age header. - The Age Penalty and its Effect on Cache Performance

I tried reporting the issue using support - #709495 but it seems Cloudflare support staff is not able to understand the issue.

I’m confused by their claim that the Date header has been changed by an intermediary. The “date:” header is the current time, GMT. I’ve not seen it deviate from the actual time.

I do see that Age is greater than Max-Age, but I don’t think one has an effect on the other (I could be wrong). I also see that Expires = Date + Max-Age.

I hope someone else has a better answer.

Currently Cloudflare team has disabled Age: header for my account and things seems to be working nice. But I see this issue for whole bunch of Cloudflare sites. I even have a way to reproduce the error in normal browser window.

I am seeing this issue since Cloudflare has launch this Introducing time.cloudflare.com

1 Like

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