Wildcard subdomain cache manipulation issue

have a worker with two routes:
*.example.com*
example.com/app

When I attempt to manipulate the cache of foo.example.com/bar from a wildcard subdomain, there are no errors. However, when I manipulate/get the cache of foo.example.com/bar from example.com/app, undefined is returned

My code looks something like this:

addEventListener("fetch", event => {
  event.respondWith(handleRequest(event.request))
})

async function handleRequest(request) {
  const cache = caches.default;
  return new Response("cache: " + await cache.match('https://foo.exapmle.com/bar')) 
}

what is wrong?

Apperently, the issue was caused by a POST request instead of a git request.