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?
Asked
Active
Viewed 60 times
1 Answers
0
Create a cron job / scheduled task and generate them in intervals of your choosing.

wesside
- 5,622
- 5
- 30
- 35