a month ago
When I go to CDN, the icon shows a ENABLED status, and the hover says ENABLE CDN, so i'm confused if that icons represents that is already enabled or that I have to enable it.
Is it any way to verify that the content is cached in CDN?
Attachments
3 Replies
a month ago
Your screenshot shows the tooltip says "Disable CDN caching," which means CDN is currently enabled on that domain - the tooltip describes the action the button will perform, not the current state. The solid lightning bolt icon means CDN is on, while the crossed-out lightning bolt (shown on the other domain) means CDN is off. To verify caching is working, you can inspect the response headers of your requests - look for the x-railway-cache header, which will indicate whether a response was served from cache.
Status changed to Awaiting User Response Railway • about 1 month ago
Railway
Your screenshot shows the tooltip says "Disable CDN caching," which means CDN is currently **enabled** on that domain - the tooltip describes the action the button will perform, not the current state. The solid lightning bolt icon means CDN is on, while the crossed-out lightning bolt (shown on the other domain) means CDN is off. To verify caching is working, you can inspect the response headers of your requests - look for the `x-railway-cache` header, which will indicate whether a response was served from cache.
a month ago
so if it's enabled, why does it show a disabled icon?
Status changed to Awaiting Railway Response Railway • about 1 month ago
Status changed to Open Railway • about 1 month ago
a month ago
Yh this is just confusing UI
The tooltip shows the action not the state so if it says Disable CDN caching then CDN is already on
The icon just looks like a disabled symbol which makes it misleading
If you want to confirm open DevTools Network tab and check the x-railway-cache header
HIT means it is cached
MISS means it is not
Status changed to Solved israelazo • about 1 month ago