You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the extension uses middleware to clear cache when resources are updated. This is the fastest and easiest solution, but there are problems when the resource is updated using a background queue or cron. It would be better to use events and run the cache purge command. https://docs.flarum.org/extend/backend-events https://api.flarum.org/php/v1.8.0/flarum/queue
The text was updated successfully, but these errors were encountered:
rafaucau
changed the title
TODO: Move cache purging to a background queue instead of using middleware
Move cache purging to a background queue instead of using middleware / Think of a hybrid solution
Sep 6, 2024
Currently, the extension uses middleware to clear cache when resources are updated. This is the fastest and easiest solution, but there are problems when the resource is updated using a background queue or cron. It would be better to use events and run the cache purge command.
https://docs.flarum.org/extend/backend-events
https://api.flarum.org/php/v1.8.0/flarum/queue
The text was updated successfully, but these errors were encountered: