Serve a single asset from Vercel Edge Network with a custom caching strategy.
https://cache-it-with.vercel.app/api/cache
url
(mandatory) - a Base64URL-encoded URL of the resource to be cached (encode here);max-age
,s-maxage
- a number between0
and31536000
;immutable
,must-revalidate
,no-cache
,no-store
,public
,stale-while-revalidate
- specify the parameter name to enable the directive (no need to provide a value).