Skip to content
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

Add frontend caching with localStorage #7

Open
whastings opened this issue Mar 28, 2014 · 0 comments
Open

Add frontend caching with localStorage #7

whastings opened this issue Mar 28, 2014 · 0 comments

Comments

@whastings
Copy link
Owner

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.

@whastings whastings changed the title Add Ajax response caching Add frontend caching with localStorage Mar 29, 2014
@whastings whastings added this to the Version 1.0.0 milestone Mar 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant