Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 795 Bytes

force.md

File metadata and controls

26 lines (19 loc) · 795 Bytes
title
force

Type:
Default:

It invalidates the cache copy associated with the resource requested, returning a new fresh copy over the target url.

<MultiCodeEditor languages={mqlCode('https://time-is.vercel.app', { force: true })} />

When it's provided, the header x-cache-status on the response will return BYPASS.

HTTP/2 200
content-type: application/json; charset=utf-8
x-response-time: 1.7s
x-pricing-plan: free
x-cache-ttl: 86400000
x-request-id: iad:2eb66538-0a16-4c56-b613-511d99507c9f
x-cache-status: BYPASS
cache-control: public, must-revalidate, max-age=0

You can read cache section to know more about that.