SMXRanger Is it any way to force browser cache cleaning after update Flarum or activating new plugins?
Ranger 0E800 it doesn't work, browser cache still need to be manually cleared. ? Tested on Chromium-based browsers, Microsoft Edge and Android web wrapper by @chamath.
0E800 Have you tied CTRL-F5? in the web browser? Fro mobile review: http://refreshyourcache.com/en/chrome-android/
yekenuk Yeah I often get this... even after clearing cache with the php command, my users see the red error message. Only clearing their browser cache fixes.... I've lost some good members due to it (and their lack of patience!) ?
Ranger Yes, CTRL+F5 is working, but my question is about force cache cleaning for users, as @yekenuk noticed.
arajdon Ranger I guess it should be possible to either set a shorter value or disable caching through the .htaccess file.
webeindustry Yea the workaround for now would be setting the cached assets to a lower value, I think the default config has it set to 30d. Going as low as 8hrs, and only running install/updates after peak-usage might be a good strategy. It means most people who visit the site will get a long initial request, and you'll have more traffic, but this is preferable in many cases to users being confused and potentially leaving.
0E800 On Chrome browser for Android, you can request the desktop version and then uncheck it. This has the same affect as CTRL-F5 for desktop browsers.
Kyrne I use cloudflare, and if I put it into developer mode it force clears everyone who visits the site within 3 hours' cache. That in conjunction with 5 hour cache time covers the majority of my users