Prefetch 503 Service Unavailable (from prefetch cache)
Hello everyone.
Why does the network write error 503 Service Unavailable (from prefetch cache) for the prefetch request? SPA mode is enabled.
This error is only on production. There is no such error on the local machine.
Solution:Jump to solution
Yes, this error is due to the "Speed Brain" optimization enabled. I disabled it and there are no more errors. But there is no prefetch either. Apparently, this module did it, not filament.
7 Replies
This error is only on production.Very hard to debug your production server configuration just from a 503 error
I don't understand what the problem is and how to solve it. Maybe cloudflare or my server is creating glitches. How to fix this?
Did you try disabling Cloudflare?
No. It's dangerous for us. Is it possible to disable it only for a specific URL?
Look what I found. Do you think this is it?
https://developers.cloudflare.com/speed/optimization/content/prefetch-urls/
https://developers.cloudflare.com/speed/optimization/content/speed-brain/#how-speed-brain-works
I don't know Cloudflare.
Probably. So maybe just turn that feature off?
Solution
Yes, this error is due to the "Speed Brain" optimization enabled. I disabled it and there are no more errors. But there is no prefetch either. Apparently, this module did it, not filament.