0

I have an "article" controller and a "view" action. My action takes an id parameter, allowing the visitor to view the article with a specific id (get the info from a mysql database). I want to create a script that generates all my caches instantly. Indeed, I don't want to wait that my visitors visit the articles for my cache files to be generated. Any hint of how I can do this?

1 Answers1

0

Create a cron job / scheduled task and generate them in intervals of your choosing.

wesside
  • 5,622
  • 5
  • 30
  • 35