Hello everybody,
I have an issue that start to be annoying : it’s my second Grav site that I’m working on, and there is a big problem with the cache and the CSS rendering.
I’m using the template “Editorial” (for both projects).
The issue : I have changed the styling by modifying the custom.css file, but when I refresh the page, no change appear.
Even worse: if I’m doing ctrl+F5 to reload the page, the page appear in one design that match with some modifications made many days ago, then if I do an other ctrl+F5: an other design appears with other modifications made an other time, then if I one more time refresh the page: the most recent modifications could appear (or could not) but with some details changed from many days, etc.
To resume: my Grav sites are showing different css styles each time I reload their pages…
I have even tried to delete completely the main.css file to let only the custom.css one, but the problem stay the same…!
The problem has begun from the start of each Grav fresh installation. For both projects.
One project is on a Nginx CloudPanel virtual server with PHP 8.3, the other project on an Apache Virtualmin server with PHP 8.2.
Both project are proxied by CloudFlare.
For information: I have disable all the cache options for Grav (CSS cache, Twig cache, index cache, render cache, object cache) and I’m deleting the Grav cache from the Admin panel by clicking on “Clear Cache” on the Dashboard to be sure that no cache remains, I have deleted all the cache of my browser, the vanilla cache of my virtual server, and the cache of CloudFlare is disable and have been emptied.
I have got this issue on Opera, Chrome, Chromium, Firefox, and Edge browsers.
So, the problem is clearly coming from Grav.
I don’t understand where are cached all those CSS files… and why Grav is able to show different styling versions each time I reload the page… ?
Hope someone can help me on this…