How to rebuild file cache

cache

#1

Hello,
I know that we can flush the cache with Flush and i found this useful reply from Bastian, but is there a way to rebuild the cache of all of the pages programmatically without to visit each link ?

Thanks!


#2

Yes, you could loop through the index and call each page. As far as I remember, there is or was a plugin, let me go checking…:walking_woman:


#3

Thank for your reply.
I’ve made it myself to get exactly what i needed (aka: Not a plugin with a button in the panel) here: https://github.com/yoanmalie/kirby-cache-reload.
And i will try also with the XMLHttpRequest() solution used in this plugin!