Does Cloudflare Polish image optimization break AI search?
Your site uses Cloudflare to serve pages quickly, and you turned on Polish to shrink your image payloads. Now an internal report or a founder check shows your brand missing from answers generated by ChatGPT or Perplexity, and you need to know if edge optimization is actively stripping the metadata, vectors, or visual text that AI engines read.
The short answer is that Cloudflare Polish does alter asset payloads on the fly, but its impact depends heavily on whether an AI engine is parsing visual context via an answer crawler or processing raw text. Understanding what changes at the edge requires examining how image transformations work and inspecting how answer bots fetch your files.
How Cloudflare Polish Modifies Image Payloads
Cloudflare Polish operates at the edge, sitting between your origin server and the requesting browser or crawler. When enabled with lossy compression, it performs three primary actions: it strips EXIF, IPTC, and comment metadata; it recompress JPEG and PNG assets into smaller binary sizes; and it automatically converts supported formats to WebP or AVIF based on the Accept request header.
For traditional search engines like Googlebot, stripping EXIF headers rarely harms indexing because core copy and alt tags remain intact in the HTML. Multimodal AI search engines operate differently. When an engine like Perplexity or ChatGPT uses a live browsing agent to fetch a page, it may attempt to parse technical diagrams, infographics, or embedded chart metadata to extract context for an answer.
If your product architecture relies on embedded metadata in images or inline SVG text that Cloudflare transforms or strips, the engine receives a simplified binary payload. Lossy optimization can introduce artifacts into dense text saved within raster graphics, rendering small typographic elements unreadable to optical character recognition engines. If you serve inline SVGs that depend on embedded attributes, global compression policies can strip explicit metadata blocks, leaving the engine with missing contextual keys.
Testing Asset Payloads with cURL
You do not need to guess how Cloudflare treats an answer crawler fetching an asset from your site. You can test the exact response headers and payload returned to an engine by running a targeted cURL request from your terminal.
To inspect how Cloudflare responds to an answer crawler such as Perplexity-User, send a request specifying the user agent and asking for the original format alongside the transformed header:
curl -i -s -A "Perplexity-User" \
-H "Accept: image/webp,image/apng,image/*,*/*;q=0.8" \
https://yourdomain.com/assets/diagram.png
Examine the returned HTTP response headers. Pay specific attention to these headers:
HTTP/2 200
content-type: image/webp
cf-bgj: img-format:webp, img-strip-meta:on
cf-cache-status: HIT
If the cf-bgj header shows img-strip-meta:on, Cloudflare has actively stripped all embedded EXIF and IPTC tags from the asset before returning it to Perplexity-User. If content-type returns image/webp even though your HTML references a .png or .jpg path, Cloudflare converted the asset type dynamically.
To verify whether your edge rules serve different assets to standard web browsers versus AI answer bots, run a secondary request using a standard browser agent:
curl -i -s -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)" \
-H "Accept: image/avif,image/webp,image/*" \
https://yourdomain.com/assets/diagram.png
Compare the payload size and headers between the two responses. If the answer crawler receives a stripped file while your origin serves full metadata, your edge configuration is actively modifying what the AI engine evaluates.
Answer Crawlers vs. Training Crawlers at the Edge
When diagnosing edge behavior, you must separate answer crawlers from training crawlers. Confusing these two categories leads to incorrect firewall rules and wasted debugging time.
Training crawlers gather bulk text to train base models. Blocking or altering responses to a training crawler affects whether your domain exists in a future model weights update months down the line. Answer crawlers fetch pages in real time to cite sources for an active user prompt right now.
Our crawler index from 2026-08-08 analyzed a panel of 54,082 domains. Out of 33,670 domains that returned a readable robots.txt file, 5,497 block at least one AI agent, and 2,576 block at least one answer crawler.
The distinction appears clearly in how site owners configure access for individual agents. Out of 33,670 readable domains:
- GPTBot (training): 5,080 blocked
- ClaudeBot (training): 4,603 blocked
- Google-Extended (training): 4,275 blocked
- PerplexityBot (search): 2,147 blocked
- ChatGPT-User (search): 2,074 blocked
- OAI-SearchBot (search): 1,579 blocked
- Perplexity-User (search): 1,402 blocked
- Claude-SearchBot (search): 1,400 blocked
- Claude-User (search): 1,384 blocked
- Googlebot (other): 610 blocked
In our census of Y Combinator companies conducted on 2026-08-07, out of 4,226 active companies, 3,755 had readable configurations, and 253 blocked at least one AI crawler.
If Cloudflare Polish or a Cloudflare Web Application Firewall rule intercepts Perplexity-User, ChatGPT-User, OAI-SearchBot, Claude-SearchBot, or Claude-User, the live engine cannot inspect the asset or page context. Blocking or modifying payloads for answer crawlers breaks citation immediately, whereas blocking GPTBot or ClaudeBot only prevents future base model training.
The Performance Trade-off and What Not to Buy
Fixing aggressive metadata stripping requires making a direct trade-off. If you turn off Cloudflare Polish or set it to Lossless mode to preserve metadata and image text clarity, your total page payload size will increase for real human visitors.
A 400KB PNG diagram that Polish compresses down to a 45KB WebP file will revert to serving 400KB if optimization is disabled. That additional payload slightly increases page load times for web visitors. You are trading a small fragment of web performance for strict asset fidelity when an answer crawler inspects your technical assets.
Do not upgrade your Cloudflare plan to fix this issue. Buying Cloudflare Business at $200 per month or upgrading to Enterprise tier does not change the underlying mechanism of Polish. If the Polish policy is toggled to lossy metadata stripping, it will strip EXIF data on Enterprise domains exactly as it does on Free or Pro domains. Plan upgrades give you granular Page Rules and Transform Rules, but they do not alter how the lossy engine compresses binary files.
Instead of upgrading plans, bypass Polish for specific paths using Cloudflare Configuration Rules. Create a rule matching user agents like Perplexity-User or ChatGPT-User, or matching paths containing key asset directories (such as /assets/diagrams/*), and set Image Polish to Bypass.
No tool can promise that preserving image metadata or bypassing compression will guarantee a citation in ChatGPT, Perplexity, Gemini, Claude, or Google AI Overviews. AI models use non-deterministic scoring to select sources.
At Standing, we track whether AI engines recommend your business using a fixed basket of industry prompts across 5 covered engines. We run each prompt five times per engine and calculate the score using a 95% confidence interval (such as a presence score of 34, plus or minus 6 out of 100). Competitors run prompts a single time without error margins, concealing the variance inherent to generative outputs. Our plans start at Track ($100 per month for 3 domains), Optimize ($300 per month for 5 domains with custom prompt creation), and Agency ($500 per month for 50 domains with a monthly re-scan).
Inspect your edge responses directly using cURL. Preserve your origin metadata on critical diagram paths, bypass Polish selectively for answer crawlers, and evaluate your presence based on repeatable testing bands rather than single-run tests.
See where you actually stand
Run a free check on your domain. Five AI surfaces, the real buying questions, about a minute. No signup.
Run a free check