-
Notifications
You must be signed in to change notification settings - Fork 277
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
Usage in Private Browsing mode #170
Comments
The referenced code sorts all localStarage items managed by basket.js and removes the oldest entry (recursively, until no error is thrown). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While debugging a site in iOS I saw that my home-baked localStorage caching script was failing in private mode:
QuotaExceededError: DOM exception 22: An attempt was made to add something to storage that exceeded the quota
I see that you check for this error here: https://github.com/addyosmani/basket.js/blob/gh-pages/lib/basket.js#L15 — could you explain for the layman what's happening here and how basket.js handles caching of resources during private browsing (if at all)?
The text was updated successfully, but these errors were encountered: