/
opt
/
canhelp
/
node_modules
/
next
/
/opt/canhelp/node_modules/next
mkdir
upload
Name
Size
Mode
Actions
compat/
-
0755
rm
dist/
-
0755
rm
experimental/
-
0755
rm
font/
-
0755
rm
image-types/
-
0755
rm
legacy/
-
0755
rm
navigation-types/
-
0755
rm
node_modules/
-
0755
rm
types/
-
0755
rm
amp.d.ts
38
0644
edit
dl
rm
amp.js
50
0644
edit
dl
rm
app.d.ts
89
0644
edit
dl
rm
app.js
46
0644
edit
dl
rm
babel.d.ts
42
0644
edit
dl
rm
babel.js
54
0644
edit
dl
rm
cache.d.ts
5521
0644
edit
dl
rm
cache.js
1500
0644
edit
dl
rm
client.d.ts
36
0644
edit
dl
rm
client.js
48
0644
edit
dl
rm
config.d.ts
149
0644
edit
dl
rm
config.js
423
0644
edit
dl
rm
constants.d.ts
44
0644
edit
dl
rm
constants.js
56
0644
edit
dl
rm
document.d.ts
109
0644
edit
dl
rm
document.js
51
0644
edit
dl
rm
dynamic.d.ts
113
0644
edit
dl
rm
dynamic.js
54
0644
edit
dl
rm
error.d.ts
97
0644
edit
dl
rm
error.js
48
0644
edit
dl
rm
form.d.ts
93
0644
edit
dl
rm
form.js
47
0644
edit
dl
rm
head.d.ts
101
0644
edit
dl
rm
head.js
51
0644
edit
dl
rm
headers.d.ts
141
0644
edit
dl
rm
headers.js
229
0644
edit
dl
rm
image.d.ts
123
0644
edit
dl
rm
image.js
61
0644
edit
dl
rm
index.d.ts
783
0644
edit
dl
rm
jest.d.ts
109
0644
edit
dl
rm
jest.js
51
0644
edit
dl
rm
license.md
1079
0644
edit
dl
rm
link.d.ts
93
0644
edit
dl
rm
link.js
47
0644
edit
dl
rm
navigation.d.ts
52
0644
edit
dl
rm
navigation.js
64
0644
edit
dl
rm
og.d.ts
48
0644
edit
dl
rm
og.js
60
0644
edit
dl
rm
package.json
11322
0644
edit
dl
rm
README.md
3341
0644
edit
dl
rm
root-params.d.ts
140
0644
edit
dl
rm
root-params.js
141
0644
edit
dl
rm
router.d.ts
101
0644
edit
dl
rm
router.js
49
0644
edit
dl
rm
script.d.ts
101
0644
edit
dl
rm
script.js
49
0644
edit
dl
rm
server.d.ts
1216
0644
edit
dl
rm
server.js
1489
0644
edit
dl
rm
types.d.ts
68
0644
edit
dl
rm
types.js
14
0644
edit
dl
rm
web-vitals.d.ts
41
0644
edit
dl
rm
web-vitals.js
53
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/next/cache.d.ts
(5521B)
export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache' export { revalidatePath, revalidateTag, unstable_expirePath, unstable_expireTag, } from 'next/dist/server/web/spec-extension/revalidate' export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store' export { cacheTag as unstable_cacheTag } from 'next/dist/server/use-cache/cache-tag' /** * Cache this `"use cache"` for a timespan defined by the `"default"` profile. * ``` * stale: 300 seconds (5 minutes) * revalidate: 900 seconds (15 minutes) * expire: never * ``` * * This cache may be stale on clients for 5 minutes before checking with the server. * If the server receives a new request after 15 minutes, start revalidating new values in the background. * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request. */ export function unstable_cacheLife(profile: 'default'): void /** * Cache this `"use cache"` for a timespan defined by the `"seconds"` profile. * ``` * stale: 0 seconds * revalidate: 1 seconds * expire: 1 minute * ``` * * This cache may be stale on clients for 0 seconds before checking with the server. * If the server receives a new request after 1 second, start revalidating new values in the background. * If this entry has no traffic for 1 minute it will expire. The next request will recompute it. */ export function unstable_cacheLife(profile: 'seconds'): void /** * Cache this `"use cache"` for a timespan defined by the `"minutes"` profile. * ``` * stale: 300 seconds (5 minutes) * revalidate: 60 seconds (1 minute) * expire: 3600 seconds (1 hour) * ``` * * This cache may be stale on clients for 5 minutes before checking with the server. * If the server receives a new request after 1 minute, start revalidating new values in the background. * If this entry has no traffic for 1 hour it will expire. The next request will recompute it. */ export function unstable_cacheLife(profile: 'minutes'): void /** * Cache this `"use cache"` for a timespan defined by the `"hours"` profile. * ``` * stale: 300 seconds (5 minutes) * revalidate: 3600 seconds (1 hour) * expire: 86400 seconds (1 day) * ``` * * This cache may be stale on clients for 5 minutes before checking with the server. * If the server receives a new request after 1 hour, start revalidating new values in the background. * If this entry has no traffic for 1 day it will expire. The next request will recompute it. */ export function unstable_cacheLife(profile: 'hours'): void /** * Cache this `"use cache"` for a timespan defined by the `"days"` profile. * ``` * stale: 300 seconds (5 minutes) * revalidate: 86400 seconds (1 day) * expire: 604800 seconds (1 week) * ``` * * This cache may be stale on clients for 5 minutes before checking with the server. * If the server receives a new request after 1 day, start revalidating new values in the background. * If this entry has no traffic for 1 week it will expire. The next request will recompute it. */ export function unstable_cacheLife(profile: 'days'): void /** * Cache this `"use cache"` for a timespan defined by the `"weeks"` profile. * ``` * stale: 300 seconds (5 minutes) * revalidate: 604800 seconds (1 week) * expire: 2592000 seconds (30 days) * ``` * * This cache may be stale on clients for 5 minutes before checking with the server. * If the server receives a new request after 1 week, start revalidating new values in the background. * If this entry has no traffic for 30 days it will expire. The next request will recompute it. */ export function unstable_cacheLife(profile: 'weeks'): void /** * Cache this `"use cache"` for a timespan defined by the `"max"` profile. * ``` * stale: 300 seconds (5 minutes) * revalidate: 2592000 seconds (30 days) * expire: never * ``` * * This cache may be stale on clients for 5 minutes before checking with the server. * If the server receives a new request after 30 days, start revalidating new values in the background. * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request. */ export function unstable_cacheLife(profile: 'max'): void /** * Cache this `"use cache"` using a custom profile "...". * ``` * stale: ... // seconds * revalidate: ... // seconds * expire: ... // seconds * ``` * * You can define custom profiles in `next.config.ts`. */ export function unstable_cacheLife(profile: string): void /** * Cache this `"use cache"` using a custom timespan. * ``` * stale: ... // seconds * revalidate: ... // seconds * expire: ... // seconds * ``` * * This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate` * * If a value is left out, the lowest of other cacheLife() calls or the default, is used instead. */ export function unstable_cacheLife(profile: { /** * This cache may be stale on clients for ... seconds before checking with the server. */ stale?: number /** * If the server receives a new request after ... seconds, start revalidating new values in the background. */ revalidate?: number /** * If this entry has no traffic for ... seconds it will expire. The next request will recompute it. */ expire?: number }): void
Save
cmd:
run