What is the name of the domain?
What is the issue you’re encountering
Getting cached content even after purging all cache but can update response headers
What steps have you taken to resolve the issue?
Cache → Purge everything
Disable ‘Always Online’
Turn on Development Mode
What are the steps to reproduce the issue?
The website is a NextJS app with nginx proxy.
To made sure it’s not nginx caching issue I’ve set my domain and ip on /etc/hosts to visit my website without cloudflare.
It shows the updated content with response headers: Source Code | AxIEd | Rocket Powered Pastebin .
I’ve tried shutting down the server, then purging cache to see any difference but it still shows the same old content.
When I configured nginx add_header X-Cache-Status $upstream_cache_status;
to see the nginx proxy cache status it appeared on both with Cloudflare and without cloudflare!
So I then set a custom header x-custom-header: Custom-Value
and it appeared through cloudflare too though with the old content!!!
Here’s the response headers for request through cloudflare Source Code | 9rR42 | Rocket Powered Pastebin
Why headers are updating in cloudflare but content is not updated??? This makes no sense to me.