Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: Move cache purging to a background queue instead of using middleware #20

Open
rafaucau opened this issue Jul 10, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@rafaucau
Copy link
Member

rafaucau commented Jul 10, 2023

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

@rafaucau rafaucau added enhancement New feature or request good first issue Good for newcomers labels Jul 10, 2023
@rafaucau rafaucau pinned this issue Aug 6, 2023
@rafaucau rafaucau removed the good first issue Good for newcomers label Oct 24, 2023
@rafaucau rafaucau added this to the v3.0.0 milestone Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant