You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the Rails stale? method to respond with 304s when the data for an Ajax request hasn't changed.
I'll need to make sure that a category's updated_at is updated when one of its resources or child categories is updated via touch.
After some investigation, I found that the user specific data (favorite IDs for resources) makes caching via HTTP overly complex. Instead, I want to work on implementing caching via the browser's localStorage.
The text was updated successfully, but these errors were encountered:
whastings
changed the title
Add Ajax response caching
Add frontend caching with localStorage
Mar 29, 2014
I want to use the Railsstale?
method to respond with 304s when the data for an Ajax request hasn't changed.I'll need to make sure that a category'supdated_at
is updated when one of its resources or child categories is updated viatouch
.After some investigation, I found that the user specific data (favorite IDs for resources) makes caching via HTTP overly complex. Instead, I want to work on implementing caching via the browser's localStorage.
The text was updated successfully, but these errors were encountered: