- Fix high availability support where css updates would be sent to a possible readonly replica instead of the writable instance
- Fix XF2.3 compatibility when css caching is enabled
- XF2.3 compatibility update
- A bug in XenForo 2.3 Beta 1 (Fixed in beta 2) prevents XenForo from using this as a caching backend without manual code patching references to Adapter\AbstractAdapter to Adapter\AdapterInterface
- Add \SV\RedisCache\Repository\Redis::get()->getRedisConnector() method, this should be used instead of \XF::app()->cache() instanceof Redis or similar.
- Fix helper code to expire/purge redis keys did not support non-main cache backends.
- If using a separate caching backend for css, old styling was not actively expired as expected, resulting in higher memory usage
- If 3rd party code uses expireCacheByPattern/purgeCacheByPattern function, the new nullable 'cache' parameter should be used
- Update credis library
- Fix possible php 8.1 compatibility issue
- Display maximum memory and maximum memory policy in admincp redis status information block for troubleshooting purposes
Fix "call to a member function setRedisConnector() on null" when using a non-default advanced configuration option
- Remove displaying if Lua is configured or not, and remove the Lua enable/disable option.
- Lua support was first added to redis v2.6.0, and this add-on required redis v3
- Rework caching provider code in preparation for XenForo 2.3
- XF have documented they are switching from Doctrine/Cache to Symfony/Cache
- I have not tested this on XF2.3, and have coded against the public interfaces of the Symfony/Cache package.
- A future release may be required for full XF2.3 compatibility.
- Track latest upstream Credis library
- When various bulk-thread operations happen (move/merge/delete/approve & admincp "Batch update threads"), purge the cached forum totals to avoid stale page navigation entries.
Uses the job queue to avoid blocking the request.
This add-on is now available on atelieraphelion.com
- Require XenForo 2.2+
- Require php 7.2+
- Track latest upstream Credis library
- Fix some errors from Redis would trigger an unhelpful php type error, instead of a more useful error message
- Correctly implement "saveMultiple" method on the cache interface. This method is not used by XenForo (and apparently any other 3rd party).
- Will be using in an upcoming Cache Permission Checks update
- Track latest upstream Credis library
- Replace "master/slave" terminology with "primary/replica" terminology. Previous config.php setting will still work.
- Fix "CredisException: ERR syntax error ", when a non-integer is passed to \XF::app()->cache->save() without php-redis installed. Known to affect Threadmark's rss caching