-
Notifications
You must be signed in to change notification settings - Fork 70
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
Update Cache per day. #64
Comments
@crazypioneer the docs go through an efficient way of busting the cache here In terms of timing, as its something that is handled at the server level not the Rails app I would probably schedule this using a nightly CRON job. |
Thank you for your kind. |
@robzolkos I'm asking it on stackoverflow, too |
This is a pretty good intruduction to cron https://www.google.com/amp/s/www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/amp/ |
Thank you. tmp=public/cached_pages-$(date +%s) |
I used this. FileUtils.rm_rf('dir/to/remove') |
How could I regenerate&update cached pages per day?
The text was updated successfully, but these errors were encountered: