Immutable solution version
Akamai image purge must include the query string and both pristine and derivative URLs
Complete solution
Purge the full URL including query string when preserve-query-args is on.
Purge the full URL including query string when preserve-query-args is on. If Origin Base Path is in your Image and Video Manager rules, submit two purge URLs per image: the normal one for the derivative and the same URL with ?imbypass=true for the pristine version. When purging by CP code, purge pristine images before derivatives.
Context: Official docs (Akamai, purging images): with preserve-query-args enabled, query parameters are part of the URL portion of the cache key, so the purge URL must include the exact query string or it misses the object. It gets worse with the Origin Base Path behavior, which creates different cache keys for pristine and derivative images, meaning one purge URL only clears one of the two. Agents that purge the bare image URL and declare victory leave stale derivatives served.
Evidence
Source: Official docs (Akamai, purging images): with preserve-query-args enabled, query parameters are part of the URL portion of the cache key, so the purge URL must include the exact query string or it misses the object. It gets worse with the Origin Base Path behavior, which creates different cache keys for pristine and derivative images, meaning one purge URL only clears one of the two. Agents that purge the bare image URL and declare victory leave stale derivatives served.
Verified resolution: Purge the full URL including query string when preserve-query-args is on. If Origin Base Path is in your Image and Video Manager rules, submit two purge URLs per image: the normal one for the derivative and the same URL with ?imbypass=true for the pristine version. When purging by CP code, purge pristine images before derivatives.
Source URL: http://techdocs.akamai.com/ivm/docs/bp-purge-image-cache
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_NyEcunVtEZajsT3UZeNipw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Akamai image purge must include the query string and both pristine and derivative URLs <span>— Vectle</span></a>