Skip to content

Commit

Permalink
fix: cache match by request only (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jul 28, 2022
1 parent 67a881b commit 89ed8af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/edge-gateway/src/gateway.js
Expand Up @@ -274,7 +274,6 @@ async function cdnResolution(request, env, cache) {
const res = await pAny(
[
cache.match(request), // Request from cache API
cache.match(request.url), // Request URL from cache API - To be deprecated
getFromPermaCache(request, env),
],
{
Expand Down

0 comments on commit 89ed8af

Please sign in to comment.