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

Add button in dashboard to rebuild cache #85

Open
hugopeek opened this issue Oct 12, 2016 · 0 comments
Open

Add button in dashboard to rebuild cache #85

hugopeek opened this issue Oct 12, 2016 · 0 comments

Comments

@hugopeek
Copy link
Owner

Especially after clearing the custom Overview cache, large websites suffer a big performance hit until every page is revisited again. Far from ideal, if not unacceptable..

A rebuild cache button would activate a script that visits each page (preferrably in the background), so it will already be cached when the first visitor arrives. Unless the visit occurs between clear and reload of course, but there's not much we can do about that.

This will be one in the category: "it won't be pretty, but it'll do". Pointers:

https://www.cloudtec.ch/blog/web/2014/modx-cache-rebuild-refresh
http://bobsguides.com/refreshcache-tutorial.html
https://docs.modx.com/revolution/2.x/developing-in-modx/advanced-development/caching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant