Issue migrated from Redmine: https://redmine.postgresql.org/issues/5663
Originally created by lucky donald at 2020-07-09 13:16:42 UTC.
I believe my docker deploy did work once, but after CRFS token in example.com/browser/js/utils.js needed to change, I'm getting 400 errors.
I'm running my docker reverse proxy behind Cloudflare, and they cache *.js files, as they are considered static.
Probably making that dynamic data available as *.json would solve that issue.
See "Understand file extensions cached by default": https://support.cloudflare.com/hc/en-us/articles/200172516-Understanding-Cloudflare-s-CDN#h_a01982d4-d5b6-4744-bb9b-a71da62c160a
Maybe also the Caching headers could be tweaked:
See "Understand Cloudflare's default cache behavior": https://support.cloudflare.com/hc/en-us/articles/200172516-Understanding-Cloudflare-s-CDN#h_51422705-42d0-450d-8eb1-5321dcadb5bc