↧
Answer by Subhash Chandra for Fragment cache not updating 30 mins
Manual cache expiration is dead, try key based expiration where you don't supply a manual cache expiration time, the key will automatically change when the object change, since updated_at change so key...
View ArticleAnswer by Khanh Pham for Fragment cache not updating 30 mins
I think you used fragment_cache doesn't exactly. Because rails have method which is called name as: expire_fragment <% cache(key, :expires_in => set_time_here) do %> <!-- content -->...
View ArticleFragment cache not updating 30 mins
I have a fragment cache setup to expire 30 minutes. <% cache(:expires_in => 30.minutes) do %> <!-- table with items --> <% end %> It made the first cache but now the items in the...
View Article