Cache-Monster
Cache-Monster copied to clipboard
Initiate the warming task
Is it possible to initiate the warming task from an action URL or for it to be called via another plugin action?
@joshangell is there a reason crawlAndWarm is not a service? If not, would you accept a pull-request to move it to a service and convert the controller action to just something like this: craft()->cacheMonster->crawlAndWarm($sitemap_url);
This way @zizther and me could also call this from another plugin. Which is exactly what I'm writing right now :)
Hi @maxstrebel, I'm afraid I don't maintain this any more, but your PR sounds reasonable to me. @nav33d will be the one to decide though :)
@maxstrebel You are always welcome to submit a PR. I would get it merged.
Many thanks