@mekici @maruco @[deleted] @DursunCan
Here it is, the big two point oh!
2.0.0
🏗️ New Features & Changes:
- Caching of Discussion Pages
- Caching of user pages
- Beta support for Categories
- Turned a few knobs to make ReCache even faster! (up to 30%)
- Asset files (js, css, locale) are no longer cached
- Before, asset files were put into a cached directory which would often be outdated
- ReCache now actively monitors the assets files and pushes new ones to the user as necessary
- The response cache and query cache now communicate
- Each have "Checks and Balances" to ensure cached data is still valid
- They no longer sit in their own space, they share data and work off the same database in Redis
- Dropped support for the file driver, Redis is now a requirement
- ReCache now uses tags in Redis to allow for selective invalidation of the ResponseCache
- Added various runtime checks to ensure the website doesn't break, even if the data is invalid
- Added support for changing user language even on a cached page
- Added a check to ensure private discussions stay private
- Full beta 13 support (beta 13 is required now)
- A bunch more under the hood changes to make ReCache better
🔧 Fixes:
- Fixed an issue that would cause notifications and discussions to show not as read even after reading them
- Fixed a race condition which possibly led to outdated query results being returned after invalidation.
- Fix for most (if not all) peculiar behavior such as really old pages being loaded, even after the cache was cleared
- Fix for incorrect driver being used sometimes for the response cache (it's Redis all the time now)
- Other minor issues
⬆️ Updating:
Please read through each step and follow them in order, this is important to ensure everything works properly.
- Ensure that Redis is properly set up before updating (this is not an issue on first install)
- Run
composer update reflar/recache
- Turn off Query Caching and turn it back on
- run
php flarum recache:clear