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

Make live badge cache friendly #149

Open
twschiller opened this issue Sep 23, 2016 · 0 comments
Open

Make live badge cache friendly #149

twschiller opened this issue Sep 23, 2016 · 0 comments

Comments

@twschiller
Copy link

The live badge can't be used on cached views because the notification count is included in the templated HTML. To enable use with cached views, it would be helpful to have the option to:

  • Do not render a count/list in the HTML returned from the server
  • Cache the previously retrieved notifications client side, e.g., in local or session storage

See example implementation here: https://github.com/twschiller/open-synthesis/blob/master/assets/js/notify.js

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

2 participants