Appearance
Optimole sessionStorage Entries and Privacy
If a cookie or consent scanner reports optml_pp_ entries on your site, this article explains where they come from, what they contain, and how to stop them while keeping Optimole's image optimization.
In this article
What the optml_pp_ entries are
Optimole runs a short page-analysis script for visitors who are not logged in. The script detects which images appear above the fold (in the first visible part of the page) and which image is the Largest Contentful Paint (LCP) element. Optimole uses the result to improve how those images load, for example by preloading them, skipping lazy loading for them, and adding missing image dimensions or responsive image sizes.
To avoid analyzing the same page twice during a visit, the script writes one entry to the browser's sessionStorage per analyzed page and device type (mobile or desktop). Each entry name starts with optml_pp_, and its value is only the time the page was analyzed.
- Cookies or session storage: these are
sessionStorageentries, not cookies. They are not sent with requests to your server. - Lifetime: the browser deletes them when the visitor closes the tab or browser. They have no fixed expiry date.
- Tracking: the entries do not identify the visitor and are not used for tracking or analytics.
A scanner can list several optml_pp_ entries at once because it visits several pages, or the same page as both a mobile and a desktop device. The analysis runs only on pages Optimole has not yet analyzed, so you may not see these entries on every page or every visit.
Turn off page analysis
You can turn off page analysis without turning off image optimization, CDN delivery, or offloading. Add this filter to your site, for example in your child theme's functions.php file or with a code snippets plugin:
php
add_filter( 'optml_page_profiler_disable', '__return_true' );If you are not comfortable editing PHP, ask your developer to add it.
⚠️ Important: Without page analysis, Optimole can no longer detect above-the-fold and LCP images automatically. The Skip images above the fold lazy loading option stops working, and automatic preloading of important images stops. This can affect your Core Web Vitals scores. To keep your first images out of lazy loading without page analysis, use the Skip lazy loading for first images option described in Lazy loading behavior.
Confirm page analysis is off
Logged-in users never get these entries, so checking your own site while logged in does not confirm anything. To check:
- Clear your site's page cache, if you use a caching plugin or a host-level cache.
- Open a page of your site in a private or incognito browser window, so you are logged out.
- View the page source and search for
optmloptimizer. If you find no match, page analysis is off. - Confirm your images still load normally.
Entries already stored in a visitor's browser are not removed by the filter. They disappear when that browser session ends.
Privacy and consent resources
These browser entries are separate from how Optimole processes image requests through its CDN. For details about Optimole's data processing, see the Optimole Privacy Policy and the Data Processing Agreement. For where images are delivered from, see What Content Delivery Network (CDN) do you use?.
📝 Note: This article describes how the plugin works and is not legal advice. Consult your own legal or privacy advisor on how to classify these entries in your consent tool and privacy policy.
