1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
|
{"version":3,"sources":["../../../../src/server/lib/incremental-cache/index.ts"],"names":["CacheHandler","IncrementalCache","toRoute","pathname","replace","constructor","_ctx","get","_args","set","revalidateTag","_tag","fs","dev","appDir","flushToDisk","fetchCache","minimalMode","serverDistDir","requestHeaders","requestProtocol","maxMemoryCacheSize","getPrerenderManifest","fetchCacheKeyPrefix","CurCacheHandler","allowedRevalidateHeaderKeys","locks","Map","unlocks","debug","process","env","NEXT_PRIVATE_DEBUG_CACHE","console","log","FileSystemCache","FetchCache","isAvailable","_requestHeaders","name","__NEXT_TEST_MAX_ISR_CACHE","parseInt","minimalModeKey","prerenderManifest","revalidatedTags","PRERENDER_REVALIDATE_HEADER","preview","previewModeId","isOnDemandRevalidate","NEXT_CACHE_REVALIDATED_TAGS_HEADER","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER","split","cacheHandler","_appDir","calculateRevalidate","fromTime","Date","getTime","initialRevalidateSeconds","routes","revalidateAfter","_getPathname","normalizePagePath","unlock","cacheKey","delete","lock","__NEXT_INCREMENTAL_CACHE_IPC_PORT","__NEXT_INCREMENTAL_CACHE_IPC_KEY","NEXT_RUNTIME","invokeIpcMethod","require","method","ipcPort","ipcKey","args","unlockNext","Promise","resolve","existingLock","newLock","tag","arguments","fetchCacheKey","url","init","MAIN_KEY_PREFIX","bodyChunks","body","getReader","readableBody","reader","arrayBuffer","Uint8Array","processValue","done","value","push","encode","curBuffer","encodeText","prevBuffer","byteLength","err","error","read","then","_ogBody","keys","formData","key","Set","values","getAll","all","map","val","text","join","blob","Blob","type","cacheString","JSON","stringify","headers","Object","fromEntries","mode","redirect","credentials","referrer","referrerPolicy","integrity","cache","bufferToHex","buffer","Array","prototype","call","b","toString","padStart","crypto","subtle","digest","createHash","update","ctx","cacheData","entry","revalidate","kind","combinedTags","tags","softTags","some","includes","age","Math","round","now","lastModified","isStale","data","curRevalidate","CACHE_ONE_YEAR","undefined","notFoundRoutes","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