Works with your stack
Cookie consent for ShortPixel Adaptive Images
images from a CDN
ShortPixel Adaptive Images serves your images from its CDN, resized for each screen. It rewrites image addresses to cdn.shortpixel.ai and loads its script from there when the page opens. It sets no cookie. Cookie Rocks never holds it, so your images always show.
By ShortPixel · shortpixel.com · WordPress.org
Is this your product? Tell us if anything here is out of date. Write to us
What ShortPixel Adaptive Images puts on your pages
- Image addresses on its CDN
- Each image comes from cdn.shortpixel.ai, with the original address inside the new one.
- A script from its CDN
- spai-lib-bg loads from cdn.shortpixel.ai on every page, to pick the right size and handle background images.
What matters for consent with ShortPixel Adaptive Images
Never held
A page without its images looks broken. Cookie Rocks treats ShortPixel as an image CDN and never holds it.
No cookie
In our test, ShortPixel set no cookie, before or after the choice.
The address still travels
Like any CDN, cdn.shortpixel.ai receives each visitor’s IP address. Your cookie policy names it.
What our tests found on ShortPixel Adaptive Images
Before the choice · ShortPixel Adaptive ImagesShortPixel Adaptive Images loads images from its CDN before any choice
With default settings, image addresses point to cdn.shortpixel.ai and include the original address. Its script loads from there too. No cookie was set in the test.
Seen in our tests, 18 October 2026, ShortPixel Adaptive Images 3.11.6.
Full detail
ShortPixel Adaptive Images, with its default settings and no account, rewrites the images of the page to cdn.shortpixel.ai/spai/... addresses that include the original image address, and loads its script spai-lib-bg from cdn.shortpixel.ai when the page opens, before any choice. No cookie was set in the test.
Light as a pebble
10.25 kB once, 1.13 kB per page. Measured, not promised.
lighter than the font on this page*
Every kilobyte costs your visitors time and costs you Core Web Vitals. Cookie Rocks adds 10.25 kB to the first page a visitor opens, then 1.13 kB to each page after that, because its files stay in the browser cache. It calls no outside server and never shifts your layout.

10.25 kB First visit, in total
1.13 kB Each next page
10.03 kB JavaScript, first visit
In the script Stylesheet, first visit
0 Requests to other servers
0 Layout shift caused
* The font on this page is Inter, compressed and cut down to the Latin alphabet. It still weighs 26.23 kB.
Optimisation
Other plugins of the same kind.
Questions
Do I need consent for an image CDN?
Not for cookies: ShortPixel sets none. The visitor’s address reaches ShortPixel, so it belongs in your privacy policy.
What happens after the 30-day trial?
The banner, your visitors’ choices and your proofs of consent keep working. Without a key, most settings lock, updates and support stop. Take a key at any time and everything opens again.
For ShortPixel users
Fast images, never held.
always shown
Every feature of the complete plugin for 30 days, no card. Your images load as they do today.
- During the trial: everything, including the full settings and the scans
- After 30 days without a key: the banner, your visitors’ choices and your proofs of consent keep working
- What waits for a key: most settings, updates and support

Get your trial key
Your e-mail and your site. Your key arrives as soon as you confirm your e-mail.