What is the mage-cache-storage cookie?
mage-cache-storage is created automatically by Magento (the open-source e-commerce platform owned by Adobe) on any site built on this technology. It appears as soon as a visitor loads a page in the store, whether or not they are logged in.
Unlike a traditional cookie, it is not sent automatically with every request to the server; instead, it is read and written directly in the browser by Magento's JavaScript, via the localStorage API.
What data it stores
It stores structured data related to Magento's "customer sections" mechanism – for example, information about the shopping cart contents, messages shown to the user, or the state of certain dynamic blocks on the page. The exact format of the value can vary depending on the Magento version and the modules installed on the store.
The data stays stored locally in the visitor's browser and is not sent to third-party servers – it is used exclusively by the store's own scripts to restore page state without an additional request to the server.
What it is used for
The main role is performance and functionality: Magento uses this entry to remember the local state of certain interface elements (such as the shopping cart or system messages), so they can be displayed quickly without waiting for a fresh response from the server on every page load.
In practice, it helps make browsing the online store smoother by reducing redundant requests to the backend for data that doesn't change often.
Does it require consent?
In CookieFix's classification, mage-cache-storage is categorized as strictly necessary, since it supports core functionality of the online store (shopping cart, correct page rendering) rather than analytics or marketing purposes.
Under GDPR and the ePrivacy Directive (2002/58/EC, transposed in Romania through Law 506/2004), cookies and similar technologies that are strictly necessary for a service explicitly requested by the user do not require prior consent. Site owners must still list it in their cookie policy, with a clear description of its purpose and duration.
How to block or delete mage-cache-storage
A visitor can delete this entry from browser settings, in the site data or localStorage management section (for example, in Chrome: Settings → Privacy and security → Site data). Deleting it may temporarily affect how the shopping cart or other dynamic page elements are displayed, until the page reloads.
Because it is strictly necessary, it should not be blocked pending consent – but site owners must still make sure other scripts (analytics, marketing) actually wait for visitor approval. A consent management platform like CookieFix can automatically block scripts from categories that require consent, while leaving strictly necessary elements like this one untouched.
Frequently asked questions
It's a localStorage entry, not a classic HTTP cookie. However, ePrivacy and GDPR treat localStorage the same as a cookie, since it stores data in the user's browser.
No, it's classified as strictly necessary for the online store to function (e.g. the shopping cart), so it doesn't require prior consent, but it must be listed in the cookie policy.
The browser will recreate it automatically on the next site visit, but in the meantime some page elements (like the cart) may temporarily reload more slowly or incorrectly.
It may retain information related to shopping activity on the site (e.g. cart contents), but this data stays local in the browser and isn't sent to third parties for marketing purposes.