We’re currently on a business plan and using Cloudflare to serve map tiles (images) using workers. Our origin server generates these images based off of query string params. I just need clarification on a few things if anyone has answers.
Is there any kind of limit on our cache - total size or amount of items in the cache?
How can we force an item to stay in cache and only be removed if we purge or cacheTtl has expired? I have heard that if an item isn’t requested frequently it can be removed from the cache - how does this work exactly and what does “frequently” mean. Are we talking hours, days?
If our origin server returns 4xx or 5xx status codes these are cached - how do we prevent this? using the fetch api within workers, cacheTtlByStatus does not seem to work - getting a dynamic cf cache status when adding this option.
Looking forward to hearing some responses, thanks in advance.