|
|
|
|
|
by cloudflare728
192 days ago
|
|
I am self hosting using Docker. Next.js config to change header didn't work for me. I had cache rules in Cloudflare, but Next.js header for page (no-cache) doesn't allow Cloudflare to apply stale-while-revalidate. Now that I have proper header added by HAProxy, Cloudflare cache rules for stale-while-revalidate works. If anyone can reach Cloudflare. Please let us forcefully use stale-while-revalidate even when upstream server tells otherwise. |
|