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
Can you set the cache to BasicCacheStorage instead of LocalStorageCacheStorage in this case? For example, borrowing the isLocalStorageNameSupported method from that StackOverlow link, you could do something like this:
var store;
if (isLocalStorageNameSupported()) {
store = new Cache.LocalStorageCacheStorage();
} else {
store = new Cache.BasicCacheStorage();
}
var cache = new Cache(-1, false, store);
When I'm using Safari in Private Browsing, I got error: "An attempt was made to add something to storage that exceeded the quota."
Stackoverflow says it is by design of Private Browsing.
http://stackoverflow.com/questions/14555347/html5-localstorage-error-with-safari-quota-exceeded-err-dom-exception-22-an
The text was updated successfully, but these errors were encountered: