apollo angular CachePersistor
up vote
0
down vote
favorite
I am stuck with apollo cachepersitor, i get error that local storage is full even after following apollos official tutorial and suggestions on stackoverflow which suggest i include a maxSize. The error still continues and maxSize rule is never applied.
const persistor = new CachePersistor({
cache,
storage: window.localStorage,
maxSize: 1900000,
debug: true,
})
debugs shows cache continues to persist
[apollo-cache-persist] Persisted cache of size 65416
[apollo-cache-persist] Persisted cache of size 68471
[apollo-cache-persist] Persisted cache of size 1178469
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2556195
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2702136
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 3448243
[apollo-cache-persist] Purged cache storage vendor.js:139549
and then i get the error belwo, from localstorage exceeding chrome quota.
apollo-cache-persist] Error persisting cache DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'apollo-cache-persist' exceeded the quota.
all help will be greatfully welcomed.
apollo apollo-client apollo-angular
add a comment |
up vote
0
down vote
favorite
I am stuck with apollo cachepersitor, i get error that local storage is full even after following apollos official tutorial and suggestions on stackoverflow which suggest i include a maxSize. The error still continues and maxSize rule is never applied.
const persistor = new CachePersistor({
cache,
storage: window.localStorage,
maxSize: 1900000,
debug: true,
})
debugs shows cache continues to persist
[apollo-cache-persist] Persisted cache of size 65416
[apollo-cache-persist] Persisted cache of size 68471
[apollo-cache-persist] Persisted cache of size 1178469
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2556195
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2702136
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 3448243
[apollo-cache-persist] Purged cache storage vendor.js:139549
and then i get the error belwo, from localstorage exceeding chrome quota.
apollo-cache-persist] Error persisting cache DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'apollo-cache-persist' exceeded the quota.
all help will be greatfully welcomed.
apollo apollo-client apollo-angular
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am stuck with apollo cachepersitor, i get error that local storage is full even after following apollos official tutorial and suggestions on stackoverflow which suggest i include a maxSize. The error still continues and maxSize rule is never applied.
const persistor = new CachePersistor({
cache,
storage: window.localStorage,
maxSize: 1900000,
debug: true,
})
debugs shows cache continues to persist
[apollo-cache-persist] Persisted cache of size 65416
[apollo-cache-persist] Persisted cache of size 68471
[apollo-cache-persist] Persisted cache of size 1178469
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2556195
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2702136
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 3448243
[apollo-cache-persist] Purged cache storage vendor.js:139549
and then i get the error belwo, from localstorage exceeding chrome quota.
apollo-cache-persist] Error persisting cache DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'apollo-cache-persist' exceeded the quota.
all help will be greatfully welcomed.
apollo apollo-client apollo-angular
I am stuck with apollo cachepersitor, i get error that local storage is full even after following apollos official tutorial and suggestions on stackoverflow which suggest i include a maxSize. The error still continues and maxSize rule is never applied.
const persistor = new CachePersistor({
cache,
storage: window.localStorage,
maxSize: 1900000,
debug: true,
})
debugs shows cache continues to persist
[apollo-cache-persist] Persisted cache of size 65416
[apollo-cache-persist] Persisted cache of size 68471
[apollo-cache-persist] Persisted cache of size 1178469
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2556195
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 2702136
[apollo-cache-persist] Purged cache storage
[apollo-cache-persist] Persisted cache of size 3448243
[apollo-cache-persist] Purged cache storage vendor.js:139549
and then i get the error belwo, from localstorage exceeding chrome quota.
apollo-cache-persist] Error persisting cache DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'apollo-cache-persist' exceeded the quota.
all help will be greatfully welcomed.
apollo apollo-client apollo-angular
apollo apollo-client apollo-angular
asked yesterday
Olalekan J Makanjuola
113
113
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371262%2fapollo-angular-cachepersistor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown