Are you using wire:navigate from the previous page to the ones with the issues? I don't have a solution but I noticed that certain styles would be cached/not loaded when using wire:navigate so that might be a place to look.
Cloudflare problems with Livewire
The problem is that there are sporadically 404 and 403 errors while using Livewire components on the website.
When for example clicking a button in a livewire comonent, then the Cloudflare checkox appears. But after clicking the checkbox or sometimes even before, there appears another layer, showing the content of the 404 page too.
At the same time it occurs in console log a error with the /livewire url of the component that was clicked, error says 403 forbidden.
This problem occurs only sporidically and with different components all over the website.
Does anybody have some experience and a suggestion for best way to solve it?
As first step i excluded the /livewire urls from Cloudflare checks completely, but i guess that is not the best solution.
Please or to participate in this conversation.