4 ms·
It doesn't: http://api.rubyonrails.org/classes/ActionController/Caching/Pages.html#M000294 http://api.rubyonrails.org/classes/ActionController/Caching/... Rem
by subwindow 18y ago
It doesn't:
http://api.rubyonrails.org/classes/ActionController/Caching/Pages.html#M000294 http://api.rubyonrails.org/classes/ActionController/Caching/...
Removing them with a cron task is usually the worst way to solve this problem. Using the expire_page method is the correct solution when the updates are being done as a result of a user's action (updating/deleting/creating a record). The problem here was that they weren't being done by a user, but automatically by the system.