Key Fix
Implemented a bugfix for Chrome browsers so it clears the cache quicker when logging in. Now is an instant login rather than taking time. And added corrected cache clear method for firefox browsers which require a GET request rather than a POST request.
Chrome works quickly by making a FETCH to a GET endpoint directly after login based on a cookie value, in the response from the FETCH we add the headers to clear the browser cache.
New Feature
Implemented Cache tags for Cloudflare Plans. This is an optional implementation, the default way of working is to still purge by URL, but this allows for cache tags to be used on any cloudflare plan when hosted at Servebolt. This reduces cache purge time significantly.
How to enable Cache Tags on Cloudflare Plans:
- Go to Servebolt Optimizer -> Cache -> Cache Purging
- When Cloudflare is selected there will be another checkbox below that says “Cache-Tags”. Check this to Enable. It is defaulted to Enable for new installations.