Request
Response
Returns binary image data with appropriate headers:Content Types
Caching
Images are aggressively cached:- Public images: 1 year, immutable cache (
public, max-age=31536000, immutable), set on both theCache-ControlandCDN-Cache-Controlheaders - Private images: No cache (
private, no-store, must-revalidate)
ETag header for conditional requests:
304 Not Modified if unchanged.
Access Control
- Public images: Accessible to everyone
- Private images: Only accessible to owner and admins
404 Not Found if accessed without authorization.