Image Resizing (Basic) - Cache Behaviour

Hi all,

  • Cloudflare Pro Plan.
  • Image resizing (Basic).
  • Cloudflare Workers - API / resize / cache.

Our service fetches images from a third-party and then uses the ‘Image Resizing (Basic)’ to resize the image(s) and then cache the result - ‘event.waitUntil(cache.put(cacheKey, response.clone()));’

Everything appears to work on the surface.

However, if a push notification is sent it (i.e. large volume of requests) we appear to be being charged for every resize request despite showing cache hits.

Can anyone shed some light of what I might be doing wrong with regards to cache behaviour and this set up is just not cost effective (we moved across from Imgix).



This topic was automatically closed after 15 days. New replies are no longer allowed.