Cloudflare not Caching next/image Images
Can someone help me debug and check the request & response headers? All my images keep getting DYNAMIC
cf-cache-status
values.
https://wuwatracker.comI have a cache rule for webp and png images already that looks like this:
(http.request.uri.path.extension eq "webp") or (http.request.uri.path.extension eq "png")
When I used a page rule for wuwatracker.com/*
, it kept giving me MISS
or EXPIRED
cache hits.1 Reply
fixed this, next/image optimizations add query strings to the request. adding
unoptimized: true
in the next.config.js file fixed it