You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It shouldn't matter where the Response came from, the edge cache middleware should be able to cache it and serve it early in the middleware chain.
// These would be our cache middleware optionstypeCacheOptions={getCacheKey?: (req: URL)=>stringcache?: typeofcaches.defaultedgeTTL?: numberbrowserTTL?: numberedgeTTLForHTML?: numberbrowserTTLForHTML?: numberallowedMethods?: Method[]}import{Router,cache}from'8track'constapp=newRouter()// Cache all GET requestsapp.get`(.*)`.use(cache())...
The text was updated successfully, but these errors were encountered:
It shouldn't matter where the
Response
came from, the edge cache middleware should be able to cache it and serve it early in the middleware chain.The text was updated successfully, but these errors were encountered: