Un écran blanc se produit souvent sur mon site avec un CDN. Et vider manuellement le cache du CDN peut résoudre le problème. Quelqu’un a-t-il rencontré le même problème ?
Les erreurs dans la console du navigateur ressemblent à « unexpected token » ou quelque chose de similaire. Je viens de récupérer le problème en vidant le cache et, malheureusement, je n’ai pas fait de capture d’écran.
Are you behind Cloudflare? If so, do you have it Rocket Loader or additional minimization enabled? These regularly cause issues and we recommend you disable them.
If you’re just behind an Nginx instance with a configuration like this, this shouldn’t cause these kinds of issues.
We need more details to help you. If this happens again, can you capture details of the error? What URL is your Discourse instance available at? What exactly do you mean by “clearing CDN cache” – can you describe what you’re doing, exactly?
My Nginx configuration is basically the same as that.
I’ll try to capture details as much as possible if this happens again. Thanks for your generous help.
Here is what I found: the Content-Encoding of Javascript file handled by CDN is gzip. I guess it should be br to function properly? So I think maybe the problem is related to my CDN’s cache.
I have done the same as above, purged the cache too but still I get a blank white screen. When I use CloudFront the problem doesn’t occur but when using Hostry or BunnyCDN, the screen remains white.