CDN edge caching not working!
0
I'm completely stuck and desperately need help with my CDN setup.
- Problem: My CDN's edge caching seems completely broken. Despite configuration, static assets aren't getting served fast.
- Troubleshooting: I've checked headers, cache-control, and even purged the cache multiple times.
- Urgency: This is absolutely killing my site performance.
Anyone faced this before?
2 Answers
0
Hassan Ali
Answered 3 days agoHello Tariq Mahmoud,
My CDN's edge caching seems completely broken.This typically indicates that your origin server headers are overriding your CDN's caching directives, possibly with `Cache-Control: no-cache`, `private`, or `max-age=0`, despite your cache invalidation attempts. Could you share the full HTTP response headers for a non-cached static asset?
0
Tariq Mahmoud
Answered 2 days agoOh nice! That was totally it, the origin server was indeed overriding things with `no-cache`. Got that sorted, huge relief!
But now I'm seeing super high egress costs from the CDN, seems like it's re-fetching too often tho for some assets even after fixing the headers. Any ideas on that?
Your Answer
You must Log In to post an answer and earn reputation.
Hot Discussions
3
Better ISP finder data?
270 Views