{"_id":"@pantheon-systems/nextjs-cache-handler","_rev":"22-8f119aa5ee406963febbf7603c3ad376","name":"@pantheon-systems/nextjs-cache-handler","dist-tags":{"latest":"0.14.0"},"versions":{"0.1.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.1.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.1.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"kevinstubbs_pantheon","email":"kevin.stubbs@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"d43752e77c9b299722cbc90b8ed3d799a2a5ad4c","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.1.0.tgz","fileCount":54,"integrity":"sha512-m1GALq8e1Wp7oLrPa97mr1JncWiZPmyQZQm2ElHDmnXtQhOtTI6YO8OkXU/aaqgdTkfxjLTxD6CaMDDyrt2eWQ==","signatures":[{"sig":"MEUCIE6+4pXljffnaOvWCZN3AAa6QFl6mZLwUrnFIH4OGg01AiEAvEyXXTknGzH/fqDU6WB2flWmrr6srMHA9wcfmLM9cZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167383},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"c3e83a19f706e2ac3900b1157b4220669df3a7d2","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"10.9.3","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.0.0","@types/node":"^20","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.1.0_1770242539216_0.19717202747606422","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.2.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.2.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"kevinstubbs_pantheon","email":"kevin.stubbs@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"a87266cc4c7efebae162582bf3de2899c49cfdcf","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.2.0.tgz","fileCount":98,"integrity":"sha512-0JtcgDUjaTFnjYohs7WHl0AX206FljEehqnFkg9VfPXDelOshNHzoEm8p5k6GqIkHP5dDQYOKtpbDFXVAtZB4Q==","signatures":[{"sig":"MEUCIQCRUK3Ai6x3GwRaeOmF5dkao1lRzS6xG/cT8plACeuYxwIgJk5wVKO0PfZjiGEKtq5JrY0UW1VAE94whU9TfuCBRC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":297902},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","import":"./dist/utils/index.js"},"./use-cache":{"types":"./dist/use-cache/index.d.ts","import":"./dist/use-cache/index.js"},"./middleware":{"types":"./dist/middleware/index.d.ts","import":"./dist/middleware/index.js"}},"gitHead":"3b8253bf45f5373c2aa722e45243471ac41379dd","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","prepare":"npm run build","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"10.9.2","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@google-cloud/storage":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6","vitest":"^4.0.18","typescript":"^5.0.0","@types/node":"^20","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.2.0_1771003260617_0.10529581704652125","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.3.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.3.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"kevinstubbs_pantheon","email":"kevin.stubbs@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"38f503b5b9820dcb2682222e16b35d799f2af1a1","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.3.0.tgz","fileCount":98,"integrity":"sha512-wQT+dCZq0SUV1oksBz38Y5Ly3fYfWWo4ETOVpYTGIwSosFSYmv+pFYIzBHbzVaK0hYOlVaXOe/iwymtkCfPkzA==","signatures":[{"sig":"MEUCIQCxH/ut2RPtaaXG2W17alWE6ClKMpdKgS4MJqsqR1Do6AIgT1SyefYap5SOyPgc2M0Z0Yp+6wwbDPj+6fvNazlgNqg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":298650},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","import":"./dist/utils/index.js"},"./use-cache":{"types":"./dist/use-cache/index.d.ts","import":"./dist/use-cache/index.js"},"./middleware":{"types":"./dist/middleware/index.d.ts","import":"./dist/middleware/index.js"}},"gitHead":"4905c4fc4e8865f07e018f2883b3c42378b3dd3d","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","prepare":"npm run build","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"10.9.2","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@google-cloud/storage":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6","vitest":"^4.0.18","typescript":"^5.0.0","@types/node":"^20","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.3.0_1771533475811_0.45012271778790214","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.4.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.4.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"kevinstubbs_pantheon","email":"kevin.stubbs@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"be4478b770847d7bf973f65160db21bdcfe9b51d","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.4.0.tgz","fileCount":98,"integrity":"sha512-pbB2KK2iAH+O4fQTuo1OHjnnWn6iu5RLyB5fGe/2JoI+36NF+gNyC8kYqYSJVVB9LVZ97s6KZzXl+yDVsMZcqA==","signatures":[{"sig":"MEYCIQDXx3zX9ausSJH6LDIUGuLPc7BR2u1dnt76jytymKGligIhAKQGD8Wy/hU+ZbEue+OCJthzOO/KOWgVQsRAmWPTl6Xt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275598},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./use-cache":{"types":"./dist/use-cache/index.d.ts","import":"./dist/use-cache/index.js"}},"gitHead":"8a1effe8d0ade9932ac96fb06ee25e7dc380f32d","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","prepare":"npm run build","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"10.9.2","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@google-cloud/storage":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6","vitest":"^4.0.18","typescript":"^5.0.0","@types/node":"^20","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.4.0_1771892608676_0.37570975196235334","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.5.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.5.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"kevinstubbs_pantheon","email":"kevin.stubbs@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"81fc697c97d6e7dfe6ec28fc8b12dbeb50bcf96b","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.5.0.tgz","fileCount":98,"integrity":"sha512-Dra9otODGDMXnNrmWYpNtOM/LTA0HW+Rr2D1cYv4w6MDAI9QKIz2OA/HRV1x/EA5q6jr96NrnG0FveUjr1YAiQ==","signatures":[{"sig":"MEQCIAPBZCZxT+ua+TNhOvDVCz0nH+E5/n72/wr1Wd4gVUO6AiBdVlFb6WIVc4LZnGI7AutvEYqn1fQh2WJHGAeuQrRkwg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278155},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./use-cache":{"types":"./dist/use-cache/index.d.ts","import":"./dist/use-cache/index.js"}},"gitHead":"2617555f11b533538a9960c934c40b6c87afee62","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","prepare":"npm run build","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"10.9.2","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@google-cloud/storage":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6","vitest":"^4.0.18","typescript":"^5.0.0","@types/node":"^20","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.5.0_1772649221592_0.8627471748903233","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.6.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.6.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"kevinstubbs_pantheon","email":"kevin.stubbs@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"c12f1110d7ec891ef96683be4b11981837d6d6a6","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.6.0.tgz","fileCount":90,"integrity":"sha512-nsbqMzqNjIOdgEOBdaLbtBBEgVdSMg8bx0WxJlhvvr6Vklb+RXB2fG2k7kEAVNE81vjx9VpIUIB4DjgS6QByKA==","signatures":[{"sig":"MEUCIDH/BUPXiwp1QojT8nq6VTbBzac3yyIwPihqqSNI4MkTAiEAhzrHpKiGJa4P9RYkds6RM1xJQunXHK5VoGDSFkejRZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":292104},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js"}},"gitHead":"aa7e8da023fe945d097a6f71ac1adab2c0f10d90","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"10.9.3","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^20","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.6.0_1774378252011_0.393304948743209","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.7.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.7.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"kevinstubbs_pantheon","email":"kevin.stubbs@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"604e4265c4a749c6d7d28988487c11b7c1b1e22a","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.7.0.tgz","fileCount":90,"integrity":"sha512-T2nbKLYkJR5aWh38XRTmUEX0qejdFFQFpbADwxSNgmbmfqTAhvJ+tIe+VYpITgZ7PaA+yl3aPyprUaLif/HTPw==","signatures":[{"sig":"MEUCIQD6etV/DIm1UkuUVXEp1UABwjUZc13FjNn9CtlSD8UpqQIgNyuD7DRuePKtEqsmBWM/rQv7SdDyGe9KCStizJnXdbU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":292995},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js"}},"gitHead":"e0b615c744102dc0114aba5688a004e5d4034a42","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"10.9.3","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.6","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^20","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.7.0_1775852435821_0.21226509594261267","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.8.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.8.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"89de9955983de2126eccb6be77b953eb4713d15d","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.8.0.tgz","fileCount":102,"integrity":"sha512-SYqmy9VUXX7CMd3wSOzZTneGafBfZMheEzRUPB2Fm6PBKj/QH1jyBkk+pUpCeqhxg9oML+n5Q49Xf8VzdbOYyQ==","signatures":[{"sig":"MEUCIEqpxtsCruLj8MxsC/IQ/O7tZRlFoG1hkv2ne6/+cc8yAiEA/ziQRc6xAvqONlURZUBVu0EwYrjf3V9Atm95FPV4ynA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":314124},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"25146dd5d44424fd2f49a3cfca567a80ab6e6938","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"overrides":{"uuid":"^11.1.1","postcss":"^8.5.10","form-data":"2.5.6"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.16.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.7","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^22","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.8.0_1783464547565_0.015139440589040376","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.8.1","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.8.1","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"7f64604c896a983c602b50958a58b14341febafa","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.8.1.tgz","fileCount":102,"integrity":"sha512-knRWXeZ7sRc2/V5TCTG3rovD9aPUEL2+wyRopM4ZSnyYI9zGX7DqmoLexR0WomspFRZqA16SD32MgqzNJgWvSw==","signatures":[{"sig":"MEQCIHcS9b99s0XdO6f8JRx46t9qX6H1DOidBms/jAkTDEokAiAW+W409zPwjycsmSA2tUr1cnl3mBybwhg9RY8x4hXnGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":320184},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"c5041734ebe9ccca55828f6c51aff049bcf9ad87","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"overrides":{"uuid":"^11.1.1","postcss":"^8.5.10","form-data":"2.5.6"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.16.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.7","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^22","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.8.1_1784668192961_0.47194956317963865","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.9.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.9.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"861464672a07fbd7f32f7607ef6573fe2018158d","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.9.0.tgz","fileCount":102,"integrity":"sha512-XdCne7IOPsMrSQspC5DkgyAZE+6p4fuLvEAm0NwMrHN5IfHAAxT1Eau9GrUzedKVD8yGh7VDdafa0E3QHCXsRA==","signatures":[{"sig":"MEQCIHgTl9aOr1XJKpvzJ3aKGzYRn/xk0Hg5cWQ7+8gOzZ83AiApEitobIyM6yaset9ESl9xSiDqDob6SNhVDMEJPuUThw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":316630},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"9756ed194416fa3987e707293ddb19a1033f1087","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"overrides":{"uuid":"^11.1.1","postcss":"^8.5.10","form-data":"2.5.6"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.16.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.7","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^22","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.9.0_1785362526199_0.0797346168021702","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.11.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.11.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"cobypear","email":"pear.coby@gmail.com"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"1a72fa7d27e5dec6d38309477695235b3ecd1fe1","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.11.0.tgz","fileCount":102,"integrity":"sha512-9j+UeVbpzXR3pnldIWvrdPMA16vxNx0vRNhgZPBsWyk9M6DQMMohrLN3cihYKG2vWIyfHYxN/nrCz6e7JsBxGQ==","signatures":[{"sig":"MEQCIGN0kmMugU+gLJZBQn36/v3FDFyuRj0cMgkQkosaDLBsAiA/P983sJ7ko2f0MOKqCKEB9XRKr4Rl0THR3CtZdQ3arQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":334006},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"64a2da60b2d085f88e49812d31abda43bc44e204","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"overrides":{"uuid":"^11.1.1","sharp":"^0.35.0","postcss":"^8.5.10","form-data":"2.5.6"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.16.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.1.7","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^22","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.11.0_1787176185317_0.3810830889756791","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.12.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.12.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"3823d1af20efbb8ebcbe5a0d03e9c6ec7df32bd7","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.12.0.tgz","fileCount":102,"integrity":"sha512-cUyQJ14YeWNh3K/SdJLGEOKwwtyOfUImY68ki88OOUq3EpaMJa8tYSkpE/PV46C6lmzJLIBeSJWZqaiFRmDQRw==","signatures":[{"sig":"MEUCIQCYgTldXN9WgEtVKjEbIRMnz6XhE7KVBT0ml4i7Cc9BUgIgA8AYxlPo1IOUWNh7ypPf8XCDuaF5REhFfgomCUUPr3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDAsLUltBwdZQxIQmuh9DnkVqFxk0P+5DF7Y/r2eyEqyQIgAuWwnxzv+XyOrlTjGz7Xqp2zsUwL2EccW0GT46bD4Ro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":335835},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"cef8b7ed095fff285a4d4784e5a421c95f1c5a10","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"overrides":{"uuid":"^11.1.1","sharp":"^0.35.0","postcss":"^8.5.10","form-data":"2.5.6"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.16.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.3.6","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^22","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.12.0_1790716775812_0.23656725452664684","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.13.0","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.13.0","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"dce173817f1cad7883ee06355b155a3fd3c47cca","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.13.0.tgz","fileCount":106,"integrity":"sha512-Oc8AHimC0VD3+X4mjPhotWnPUQnN7Xg2INU4TK6FbNNn8xHY6DpMjtY4CBNU+Rdh4FfyNEJKNDVDcaD5Zp+kSQ==","signatures":[{"sig":"MEYCIQDHXiPC5uzdQ4+ndZnSM5NWgIwgxrSAyTEXsGxL3lrXcwIhAPTsarqKtF+1a3Njb5hX7V8VrnLFCCEV8Uc/ZOq05bKb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEMaYUjLhzpntROh7XspHmJGaBLL8zfb1/pbR6goZR7sAiBwpa7Wvchdr0DNBFJaLZWhSGK1U47lL1+nfeI94NKQgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":383875},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"faf6b34f16248bf85bb593ec272139ac06df6684","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"danishyasin33","email":"danishyasin33@gmail.com"},"overrides":{"uuid":"^11.1.1","sharp":"^0.35.0","postcss":"^8.5.10","form-data":"2.5.6"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.16.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.3.6","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^22","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.13.0_1791220660587_0.9514706051558648","host":"s3://npm-registry-packages-npm-production"}},"0.13.1":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.13.1","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.13.1","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"df42e0fff6f865d71fd77532f5ddb4629fe4fe2a","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.13.1.tgz","fileCount":110,"integrity":"sha512-wngyH54JeO3ZFX/Om1aj+6OR2vyXRvXiLvYDNZP32EctBatftBXD0kw8TCe9Ij1e1NEMhzyF5tkxgjWPbaQ54Q==","signatures":[{"sig":"MEYCIQCj4uJnB6Ef4ApPDzsqJk8dMddaOWRjHW4OYGcL9ziZbAIhAJcSFXyxD/DjWvjeKrSDakRcZIs06ahfJ4pEYOXdOyIL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICxfTpcbmnmWwKYTJ3U36Q4vSHJh5Js78bnykzqf6NGjAiArELFqpE13cJDL1g1fEKmLIvl8sZrWm3w645l06JrD0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":417198},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"7ccaa476219e2b7db0c7570dc9aedabf1e00c55f","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},"overrides":{"uuid":"^11.1.1","sharp":"^0.35.0","postcss":"^8.5.10","form-data":"2.5.6"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.19.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"26.8.1","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.3.6","vitest":"^4.0.18","prettier":"^3.0.0","typescript":"^5.0.0","@types/node":"^22","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.13.1_1791377106178_0.3598834407979892","host":"s3://npm-registry-packages-npm-production"}},"0.13.2":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.13.2","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.13.2","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"dd36b364541ac5492688af163e295013d05d2a9b","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.13.2.tgz","fileCount":118,"integrity":"sha512-BJwiYmMiuF60e8Q8kJXNUmODYJQZr5v0rMMUA7I7/AgxakqmoOIdpa8Z5mvXEsy5I+ZXq2v33y7qwn3/ShiNcw==","signatures":[{"sig":"MEUCIQCXZMepsQXc+9SILhF2m/0co7bGcii6tPflhVrMyTIf9wIgCCkQYa4vLCsU05HNYeyjzBUuOcfMcJX2jdrW48t3Db4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGrZXpkx+snRkTc13Z3gMQj2NTpSO6jVOBCk5xL8AXtkAiEA4NCoX1QS08PPegqKQoM9jSl3iz+e2rIVbCLNEh5psw8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":437087},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"0d11d7069647dc925e74f6c59047f081a59a95bd","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},"overrides":{"uuid":"^11.1.1","sharp":"^0.35.5","postcss":"^8.5.10","form-data":"2.5.6","source-map-js":"^1.2.2"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.19.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"26.8.1","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.3.6","vitest":"^5.0.2","prettier":"^3.0.0","typescript":"^7.0.2","@types/node":"^22","@vitest/coverage-v8":"^5.0.2"},"peerDependencies":{"next":">=14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.13.2_1791901082236_0.8519470116866728","host":"s3://npm-registry-packages-npm-production"}},"0.13.3":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.13.3","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.13.3","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"c1eb69435755b42ef4e785a09b76094239fbf407","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.13.3.tgz","fileCount":126,"integrity":"sha512-4xxz069D8ok1INQ3T51Qdf3twjA1LvA2cZT5UCT90Ir3irfvoWfDjJD71+/a7xVa3oc/UvtFVgm2c1WH3lE/YA==","signatures":[{"sig":"MEUCIQCxwv/KyigJWpgbF+XZwTSHSukEhgPHLKFLQ4L9uEXX/gIgQPuaUP8+wRdojpDtB/XUvWyh4JxCT8qfHZQrJGo9yEE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDN7OCUgGFegr3aOaahc1WmrckON0sseIksilBjy6wqCAiEAlF9BFwckxYGMISv5ypta+hByguknMUkzPQl/up7VEkU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":483695},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"98a9cca05ac446540eef540634a6e3bce34151ad","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},"overrides":{"uuid":"^11.1.1","sharp":"^0.35.5","postcss":"^8.5.10","form-data":"2.5.6","source-map-js":"^1.2.2"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.19.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"26.8.1","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.4.1","vitest":"^5.0.2","prettier":"^3.0.0","typescript":"^7.0.2","@types/node":"^22","@vitest/coverage-v8":"^5.0.2"},"peerDependencies":{"next":">=15.5.28 <17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.13.3_1792182671038_0.6725730308457003","host":"s3://npm-registry-packages-npm-production"}},"0.13.4":{"name":"@pantheon-systems/nextjs-cache-handler","version":"0.13.4","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"author":{"name":"Pantheon Systems"},"license":"MIT","_id":"@pantheon-systems/nextjs-cache-handler@0.13.4","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"2882a0a294847c2d714bf07bf28a8b1dc869f187","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.13.4.tgz","fileCount":130,"integrity":"sha512-RIfF1UDtGiRHFLlptN8kwDS9wL3INvF6mdSV+hChYJqG2OGHVWWJfIvlmU331wgpsX1GhsjOvbRUh7eVikSZkA==","signatures":[{"sig":"MEUCIQDpsPdaew+c7XiBT+d0wd7TlGsuGSCnqG4n0ONlFQZgBgIgHYBdvtEiCzMfFpHgViSenFZuxCNt6UyN1/sCAzrKUlQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDK0khHIFlqHFz1qX2X30uWVCdlXp2P/69f7hDUmlX5wQIgEUugPbJ7vqHrjBDOR+nN0u8pPG4vcilRfX4V2tWwoeA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":540556},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"8748a79e9f88531c620ae10701412b3e86cb3994","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},"overrides":{"uuid":"^11.1.1","sharp":"^0.35.5","postcss":"^8.5.10","form-data":"2.5.6","source-map-js":"^1.2.2"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.19.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"_nodeVersion":"26.8.1","dependencies":{"@google-cloud/storage":"^7.21.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.4.1","vitest":"^5.0.2","prettier":"^3.0.0","typescript":"^7.0.2","@types/node":"^22","@vitest/coverage-v8":"^5.0.2"},"peerDependencies":{"next":">=15.5.28 <17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-cache-handler_0.13.4_1792587012998_0.44482896976401687","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"_id":"@pantheon-systems/nextjs-cache-handler@0.14.0","bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"dist":{"shasum":"930534f72cd44293f1f718ef557574e749b28ca9","tarball":"https://registry.npmjs.org/@pantheon-systems/nextjs-cache-handler/-/nextjs-cache-handler-0.14.0.tgz","fileCount":134,"integrity":"sha512-0IX5jwYdQwNiS6QhQC3jEjug7pRKphtztQ0YnJJTO9WVdBMF7bjqKsf+an7DsjQEmN7uWdQdLdoW5CPYjkZ9ag==","signatures":[{"sig":"MEYCIQCvFt+ZKIA22U4SXi7Pd7+vlV4KNjb+6jCpsthxqEUiKgIhAMrcNYr1EkblP4C/QXJUb0gj/5ZI7Iw7zIDfC7QEo4zq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFFBHnOeGAkK9kYH0nHPgwiZPtvQrxOYm4hzNkt23CRKAiEA+YVIVv+YEiTOd93LW5sCLxYmsxjTdA1d9QycjMkVWUk="}],"unpackedSize":621070},"main":"./dist/index.js","name":"@pantheon-systems/nextjs-cache-handler","type":"module","types":"./dist/index.d.ts","author":{"name":"Pantheon Systems"},"engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","worker":"./dist/index.edge.js","browser":"./dist/index.edge.js","default":"./dist/index.js","workerd":"./dist/index.edge.js","edge-light":"./dist/index.edge.js"},"./use-cache":{"types":"./dist/handlers/use-cache/index.d.ts","import":"./dist/handlers/use-cache/index.js","worker":"./dist/handlers/use-cache/index.edge.js","browser":"./dist/handlers/use-cache/index.edge.js","default":"./dist/handlers/use-cache/index.js","workerd":"./dist/handlers/use-cache/index.edge.js","edge-light":"./dist/handlers/use-cache/index.edge.js"}},"gitHead":"6c2cd858f19527643687b9760c539ae01bfcd6eb","license":"MIT","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepare":"npm run build","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"version":"0.14.0","_npmUser":{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},"homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"overrides":{"uuid":"^11.1.1","sharp":"^0.35.5","postcss":"^8.5.10","form-data":"2.5.6","source-map-js":"^1.2.2"},"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"_npmVersion":"11.19.0","description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","directories":{},"maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"_nodeVersion":"26.8.1","dependencies":{"@google-cloud/storage":"^8.4.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.4.3","vitest":"^5.0.5","prettier":"^3.0.0","typescript":"^7.0.2","@types/node":"^22","@vitest/coverage-v8":"^5.0.5"},"peerDependencies":{"next":">=15.5.28 <17.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nextjs-cache-handler_0.14.0_1793192958938_0.8578954265628078"}}},"time":{"created":"2026-02-04T22:02:19.112Z","modified":"2026-10-28T13:09:19.507Z","0.1.0":"2026-02-04T22:02:19.383Z","0.2.0":"2026-02-13T17:21:00.808Z","0.3.0":"2026-02-19T20:37:55.948Z","0.4.0":"2026-02-24T00:23:28.842Z","0.5.0":"2026-03-04T18:33:41.730Z","0.6.0":"2026-03-24T18:50:52.160Z","0.7.0":"2026-04-10T20:20:36.037Z","0.8.0":"2026-07-07T22:49:07.744Z","0.8.1":"2026-07-21T21:09:53.101Z","0.9.0":"2026-07-29T22:02:06.339Z","0.11.0":"2026-08-19T21:49:45.439Z","0.12.0":"2026-09-29T21:19:35.913Z","0.13.0":"2026-10-05T17:17:40.696Z","0.13.1":"2026-10-07T12:45:06.273Z","0.13.2":"2026-10-13T14:18:02.410Z","0.13.3":"2026-10-16T20:31:11.149Z","0.13.4":"2026-10-21T12:50:13.079Z","0.14.0":"2026-10-28T13:09:19.039Z"},"bugs":{"url":"https://github.com/pantheon-systems/nextjs-cache-handler/issues"},"author":{"name":"Pantheon Systems"},"license":"MIT","homepage":"https://github.com/pantheon-systems/nextjs-cache-handler#readme","keywords":["next.js","cache","cache-handler","gcs","google-cloud-storage","pantheon"],"repository":{"url":"git+https://github.com/pantheon-systems/nextjs-cache-handler.git","type":"git"},"description":"Custom cache handler for Next.js with support for Google Cloud Storage and file-based caching","maintainers":[{"name":"pantheon-npm","email":"vendor-npm@pantheon.io"},{"name":"zzyou","email":"youzhenzhen@gmail.com"},{"name":"cat.kaethler","email":"cat.kaethler@pantheon.io"},{"name":"danishyasin33","email":"danishyasin33@gmail.com"},{"name":"duncanschouten","email":"duncan.s.schouten@gmail.com"},{"name":"mitchellmarkoff","email":"mitchell.markoff@pantheon.io"},{"name":"nickh_pantheon","email":"nickheinbaugh@pantheon.io"},{"name":"cruno-pantheon","email":"christopherruno@pantheon.io"},{"name":"mel-miller","email":"me@mel-miller.com"}],"readme":"# @pantheon-systems/nextjs-cache-handler\n\nCustom cache handler for Next.js with support for Google Cloud Storage and file-based caching. Designed for Pantheon's Next.js hosting platform.\n\n## Supported versions\n\n[![Next.js 15](https://github.com/pantheon-systems/nextjs-cache-handler/actions/workflows/next-15.yml/badge.svg?branch=main&event=push)](https://github.com/pantheon-systems/nextjs-cache-handler/actions/workflows/next-15.yml?query=branch%3Amain)\n[![Next.js 16](https://github.com/pantheon-systems/nextjs-cache-handler/actions/workflows/next-16.yml/badge.svg?branch=main&event=push)](https://github.com/pantheon-systems/nextjs-cache-handler/actions/workflows/next-16.yml?query=branch%3Amain)\n\nEach badge shows whether the tests on `main` pass against the newest Next.js 15 and 16 releases.\n\n## Features\n\n- **Dual Cache Handlers**: Support for both GCS (production) and file-based (development) caching\n- **Next.js 16 `use cache` Support**: Handlers for the new `cacheHandlers` (plural) API\n- **Tag-Based Invalidation**: Efficient O(1) cache invalidation using tag mapping\n- **Edge Cache Clearing**: Automatic CDN cache invalidation on Pantheon infrastructure\n- **Build-Aware Caching**: Automatically invalidates route cache on new builds\n- **Static Route Preservation**: Preserves SSG routes during cache clearing\n- **Edge-Runtime Safe**: Ships an edge-safe entry so a globally-configured cache handler doesn't break edge routes or edge middleware (see [Edge runtime safety](#edge-runtime-safety))\n\n## Installation\n\n```bash\nnpm install @pantheon-systems/nextjs-cache-handler\n```\n\n## Quick Start\n\n### 1. Create a cache handler file\n\n```typescript\n// cacheHandler.ts\nimport { createCacheHandler } from '@pantheon-systems/nextjs-cache-handler';\n\nconst CacheHandler = createCacheHandler({\n  type: 'auto', // Auto-detect: GCS if CACHE_BUCKET exists, else file-based\n});\n\nexport default CacheHandler;\n```\n\n### 2. Configure Next.js\n\n```javascript\n// next.config.mjs\nimport path from \"path\";\nimport { fileURLToPath } from \"url\";\n\nconst __dirname = path.dirname(fileURLToPath(import.meta.url));\n\nconst nextConfig = {\n  cacheHandler: path.resolve(__dirname, \"./cacheHandler.mjs\"),\n  cacheMaxMemorySize: 0, // Turns off Next's built-in in-memory cache so this handler is the source of truth\n};\n\nexport default nextConfig;\n```\n\n## Edge runtime safety\n\nThe GCS and file handlers are Node-only — they import `fs` and\n`@google-cloud/storage`. When a cache handler is configured **globally** (via\n`cacheHandler` / `cacheHandlers` in `next.config`, as Pantheon's build adapter\ndoes zero-touch), Next.js bundles it into **edge routes and edge middleware**\ntoo. If the entry point pulled in `fs`, those edge builds would fail with\n`edge runtime does not support Node.js 'fs'` (or `Can't resolve 'net'`).\n\nTo avoid that, the package ships a separate **edge-safe entry** exposing the same\nAPI backed by no-op handlers, and maps it through the `edge-light`, `worker`,\n`workerd`, and `browser` [export conditions](https://nodejs.org/api/packages.html#conditional-exports).\nNext's edge compiler resolves the edge-safe entry; the Node server resolves the\nreal handlers. No configuration is needed — importing `@pantheon-systems/nextjs-cache-handler`\njust works in both runtimes.\n\n> ⚠️ **Do not add this package to `transpilePackages`.** Transpiling a package\n> makes Next's edge compiler bundle its source and **ignore the `edge-light`\n> export condition**, which drags the Node handlers back into the edge bundle and\n> reintroduces the `fs`/`net` build failure. Leave it as a normal (externalized)\n> dependency.\n\nEdge routes/middleware never persist to the shared cache, so the edge no-op\nhandlers are correct: reads miss and writes are dropped at the edge, while the\nNode server performs real caching.\n\n## Configuration\n\n### `createCacheHandler(config?)`\n\nCreates a cache handler based on the provided configuration.\n\n```typescript\ninterface CacheHandlerConfig {\n  /**\n   * Handler type selection:\n   * - 'auto': Automatically detect based on environment (GCS if CACHE_BUCKET is set, otherwise file)\n   * - 'file': Use file-based caching (local development)\n   * - 'gcs': Use Google Cloud Storage (production/Pantheon)\n   */\n  type?: 'auto' | 'file' | 'gcs';\n}\n```\n\n## Environment Variables\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `CACHE_BUCKET` | GCS bucket name for storing cache | Required for GCS handler |\n| `OUTBOUND_PROXY_ENDPOINT` | Edge cache proxy endpoint (Pantheon infrastructure) | Optional (enables edge cache clearing) |\n| `CACHE_DEBUG` | Enable debug logging (`true` or `1`) | Optional |\n| `CACHE_TAGS_FLUSH_INTERVAL_MS` | How often each server process writes the tag-to-keys mapping to GCS (default `5000`, minimum `1000`). See [Tag-Based Invalidation](#tag-based-invalidation). | Optional |\n| `CACHE_USE_CACHE_MEMORY_MB` | Memory each server process keeps for `'use cache'` entries it has read or written, evicting the least recently used (default `32`, `0` disables; the `memoryMb` option of `createUseCacheHandler` takes precedence). A hit from memory resolves without a GCS round trip, which keeps it in the static part of a cached navigation; tag and revalidate expiry apply as for GCS hits. | Optional |\n| `CACHE_INVALIDATION_DELETE_CONCURRENCY` | Deletes in flight at once when a new build deletes the earlier builds' entries in `route-cache/` (in the background), and when `clearSharedCache()` runs (default `50`, clamped to `1`–`200`). Raising it shortens the background delete; lowering it eases GCS throttling. See [Build Invalidation](#build-invalidation). | Optional |\n| `CACHE_BUILD_INVALIDATION` | `off` stops a new build from deleting `route-cache/` (it still records the build, purges the CDN and removes earlier builds' keys from the tags map), for when the delete itself is the problem. Entries from earlier builds are still never served; they only take up storage until a deploy runs without `off`. Any other value, or unset, deletes as usual. | Optional |\n| `CACHE_GCS_API_ENDPOINT` | Base URL of a GCS emulator for the GCS handlers to use instead of GCS, such as `http://localhost:4443` for [fake-gcs-server](https://github.com/fsouza/fake-gcs-server); the integration tests use it. `STORAGE_EMULATOR_HOST` does not work for this: the storage library builds API and upload URLs from it differently, so no value serves both. Requests to it are sent without credentials, so it is ignored, with an error, on Cloud Run (when `K_SERVICE` is set). | Optional (testing only) |\n| `CACHE_TAGS_REFRESH_INTERVAL_MS` | How often each server process reads revalidations made by other processes (default `1000`, minimum `100`). `revalidateTag()` schedules a second CDN purge for one interval plus up to 1 s (the interval again, capped at 1 s) after the first, 2 s by default. The `use cache` handler also reloads tag timestamps at most once per interval, in the background. See [Revalidations across processes](#revalidations-across-processes). | Optional |\n\n## API Reference\n\n### `createCacheHandler(config?)`\n\nFactory function that returns the appropriate cache handler class based on configuration.\n\n```typescript\nimport { createCacheHandler } from '@pantheon-systems/nextjs-cache-handler';\n\n// Auto-detect based on environment\nconst CacheHandler = createCacheHandler();\n\n// Force file-based caching\nconst FileCacheHandler = createCacheHandler({ type: 'file' });\n\n// Force GCS caching\nconst GcsCacheHandler = createCacheHandler({ type: 'gcs' });\n```\n\n### `getSharedCacheStats(options?)`\n\nReturns cache statistics for the current environment. Every entry is read, so on a large cache pass `{ limit }` to read at most that many entries per cache type (fetch, route, image).\n\n```typescript\nimport { getSharedCacheStats } from '@pantheon-systems/nextjs-cache-handler';\n\nconst stats = await getSharedCacheStats(); // or getSharedCacheStats({ limit: 100 })\nconsole.log(stats);\n// {\n//   size: 10,\n//   keys: ['fetch:abc123', 'route:_index'],\n//   entries: [\n//     { key: 'fetch:abc123', tags: ['posts'], type: 'fetch', lastModified: 1234567890 }\n//   ]\n// }\n```\n\n### `getSharedCacheCounts()`\n\nCounts the objects in each cache and reads the size of the tag-to-keys mapping and the recorded\nbuild, without reading any entry. On GCS that is one list request per 1,000 objects plus two small\nreads, so it suits a large cache where `getSharedCacheStats()` would download every object. Route\nobjects are also counted by the build that wrote them (GCS only): any key other than\n`buildMeta.buildId` is left over from an earlier build and never served, and `unstamped` counts\nentries written before 0.13.4. Rejects when the cache can't be read, rather than reporting zeros.\n\n```typescript\nimport { getSharedCacheCounts } from '@pantheon-systems/nextjs-cache-handler';\n\nconst counts = await getSharedCacheCounts();\n// {\n//   route: { objects: 1912, byGeneration: { 'a1B2c3:dpl-9': 1890, unstamped: 22 } },\n//   fetch: { objects: 340 },\n//   image: { objects: 57 },\n//   tagsMap: { bytes: 48211 },\n//   buildMeta: { buildId: 'a1B2c3:dpl-9', timestamp: 1791201540000, builtAt: 1791201480000 }\n// }\n```\n\nEach call lists the whole cache. If you expose it through a route, require authentication: it\nreveals how the cache is structured, and unauthenticated callers could run up list requests.\n\n### `clearSharedCache()`\n\nClears all cache entries (preserving static SSG routes).\n\n```typescript\nimport { clearSharedCache } from '@pantheon-systems/nextjs-cache-handler';\n\nconst clearedCount = await clearSharedCache();\nconsole.log(`Cleared ${clearedCount} cache entries`);\n```\n\n### Direct Handler Access\n\nFor advanced use cases, you can import the handlers directly:\n\n```typescript\nimport { FileCacheHandler, GcsCacheHandler } from '@pantheon-systems/nextjs-cache-handler';\n\n// Use directly in your configuration\nexport default FileCacheHandler;\n```\n\n## Next.js 16 `use cache` Handlers\n\nNext.js 16 introduces the `'use cache'` directive with a new `cacheHandlers` (plural) configuration. This package provides handlers for it.\n\n### 1. Create a use-cache handler file\n\n`createUseCacheHandler` returns the handler **class**. Next.js's `cacheHandlers`\n(plural) API expects each entry's default export to be an **instance** with\ncallable `.get/.set/...` methods — Next does not call `new` on it. So you must\ninstantiate the class with `new` and export the instance:\n\n```typescript\n// use-cache-handler.mjs\nimport { createUseCacheHandler } from '@pantheon-systems/nextjs-cache-handler/use-cache';\n\nconst UseCacheHandler = createUseCacheHandler({\n  type: 'auto', // Auto-detect: GCS if CACHE_BUCKET exists, else file-based\n  memoryMb: 32, // Per-process in-memory entries for the GCS handler (default 32, 0 disables)\n});\n\n// `new`: Next.js calls methods on this value and won't instantiate it.\nexport default new UseCacheHandler();\n```\n\n> If you forget the `new`, Next.js builds will hang (~60s) and then fail\n> because `.get/.set/...` are undefined on the class itself.\n\n### 2. Configure Next.js\n\n```javascript\n// next.config.mjs\nimport path from \"path\";\nimport { fileURLToPath } from \"url\";\n\nconst __dirname = path.dirname(fileURLToPath(import.meta.url));\n\nconst nextConfig = {\n  // Existing handler for ISR, routes, fetch cache\n  cacheHandler: path.resolve(__dirname, \"./cache-handler.mjs\"),\n\n  // Handler for 'use cache' directive\n  cacheHandlers: {\n    default: path.resolve(__dirname, \"./use-cache-handler.mjs\"),\n  },\n\n  // Only affects Next's built-in cache for the `cacheHandler` above. The\n  // `'use cache'` handler's own memory is set with `memoryMb` in its handler file.\n  cacheMaxMemorySize: 0,\n  cacheComponents: true,\n};\n\nexport default nextConfig;\n```\n\n### `createUseCacheHandler(config?)`\n\nFactory function that returns the appropriate use-cache handler. Accepts the same `type` option (`'auto'`, `'file'`, `'gcs'`), plus `memoryMb` for the GCS handler's per-process memory (overrides `CACHE_USE_CACHE_MEMORY_MB`).\n\n### `getUseCacheStats()`\n\nReturns statistics for `use cache` entries, similar to `getSharedCacheStats()`.\n\n```typescript\nimport { getUseCacheStats } from '@pantheon-systems/nextjs-cache-handler';\n\nconst stats = await getUseCacheStats();\n```\n\n### Direct Handler Access\n\n```typescript\nimport { UseCacheFileHandler, UseCacheGcsHandler } from '@pantheon-systems/nextjs-cache-handler';\n```\n\n## Cache Types\n\nThe handler distinguishes between two cache types:\n\n- **Fetch Cache**: Stores data from `fetch()` calls with caching enabled\n- **Route Cache**: Stores rendered pages and route data\n\n## Tag-Based Invalidation\n\nThe handler maintains a tag-to-keys mapping for efficient O(1) cache invalidation:\n\n```typescript\n// When setting cache with tags\nawait cacheHandler.set('post-1', data, { tags: ['posts', 'blog'] });\n\n// When invalidating by tag\nawait cacheHandler.revalidateTag('posts');\n// All entries tagged with 'posts' are invalidated\n```\n\n### How the mapping is written to GCS\n\nGCS allows roughly one write per second per object name, and the mapping is a\nsingle object (`cache/tags/tags.json`) shared by every server process. The GCS\nhandler therefore:\n\n- keeps one write buffer per process, not per handler instance (Next.js\n  constructs a cache handler for every request), and writes the mapping at most\n  once per `CACHE_TAGS_FLUSH_INTERVAL_MS` (plus up to 25% random jitter, so\n  instances that start together spread out), flushing from inside the request\n  that made the interval elapse, so it does not depend on background timers;\n- skips the write entirely when the mapping did not change (for example an ISR\n  regeneration of an already-mapped page);\n- writes with an `ifGenerationMatch` precondition, so concurrent processes merge\n  their updates instead of overwriting each other, and re-reads on a conflict;\n- never writes on `revalidateTag()`: reads overlay the process's pending updates\n  on the stored mapping;\n- on a failed write (including `429 rateLimitExceeded`) keeps the updates queued\n  and retries with exponential backoff (up to 60s). It logs one warning when a\n  failure streak starts and one when it recovers. If updates have been pending\n  for more than 10 minutes of failed writes, the batch is dropped with an error.\n\nA freshly cached page can therefore be absent from the mapping for up to the\nflush interval. A `revalidateTag()` on another process in that window cannot\npurge it, so the process that flushes the key does: after each flush it purges\nthe keys whose tags were revalidated after they were cached. The CDN can then\nserve such a page stale for up to one flush interval. Raise `CACHE_TAGS_FLUSH_INTERVAL_MS` if a site that runs many\ninstances still logs `429` warnings during cold-cache bursts; lower it (minimum\n`1000`) if the mapping lag matters more than write headroom.\n\nTwo situations still lose pending updates, and a lost update means a later\n`revalidateTag()` will not purge the CDN for that page: writes failing for\nmore than 10 minutes (the pending batch is then dropped, logged as an error), and a\nprocess exiting with updates still queued. The shared object accepts one write per\nsecond in total, so a service that runs more than about 10 instances through a\ncold-cache event will see updates lag and, if many instances stop within the same\nfew seconds, some of them exit with updates pending. Raise the flush interval, or\nkeep max instances near that figure, for such sites. Next.js exits on `SIGTERM` before the\nhandler can flush. If your app sets `NEXT_MANUAL_SIG_HANDLE` and handles the\nsignal itself, call `flushSharedTagsMapping()` from this package before exiting.\nIt retries a failed write until a deadline (`{ timeoutMs }`, default 8000 ms, inside\nCloud Run's 10 s grace period), since several instances shutting down together take\nturns on the shared object.\nCall it from process-level code such as a custom `server.js`, which shares the\nmodule instance Next.js loaded the cache handler into. Code that Next.js bundles\n(route handlers, `instrumentation.ts`) may get its own copy of the package with\nan empty buffer registry, so a call from there does not flush anything. The function\nreturns the number of buffers it flushed. A `0` from a shutdown hook that should\nhave had pending updates means it ran in the wrong module instance.\n\n### Revalidations across processes\n\nNext.js records a revalidation in a per-process manifest, and checks cached\npages, route handlers and `fetch` entries against it. The GCS handler also\nstores each revalidation in `cache/tags/revalidations.json`, and every process\napplies the stored ones to its own manifest before serving from the cache,\nreading the object at most once per `CACHE_TAGS_REFRESH_INTERVAL_MS`. Cache\nreads wait for that read until 2 s after it started, then serve with what the\nprocess already knows, so a read that arrives during a slow one waits only for\nthe time left. A slow read logs one warning per streak, and the recovery\nmessage reports how many cache reads were served without it.\n\n`revalidateTag()` and `revalidatePath()` therefore:\n\n1. store the revalidation (waiting up to 250 ms so revalidations from the same\n   moment share one write, then retrying a failed write for up to 5 s);\n2. purge the CDN;\n3. purge the CDN again once every process has applied it (two refresh\n   intervals, 2 s by default), so a process that had not refreshed yet cannot\n   put the old page back in the CDN.\n\nA process that had not refreshed yet can put the old page back in the CDN\nbetween steps 2 and 3. So each process, when it reads a revalidation that\nanother process made, purges the CDN for the pages it served from its cache\nafter that revalidation. The purge starts inside the request that read it\n(which has CPU) without holding up its cache reads. A process that served none\nof those pages does not send a purge, and never purges the whole site. (Revalidations\nit finds on its first read are skipped, because it had not served any pages\nbefore then.) The second purge in step 3 is a backstop, for a process that served the\nold page and then received no further requests.\n\nA server action that revalidates responds after step 2; step 3 runs on a timer.\nSecond purges that come due within 1 s of each other are sent together, each\npath and key once, so a burst of revalidations sends about one purge per second\nper process. A process that gets no CPU between requests (Cloud Run with\nrequest-based CPU allocation) sends an overdue second purge at its next\nrequest; one that stops before then loses it unless the app calls\n`flushSharedTagsMapping()` at shutdown, which sends it (waiting until it is due,\nwithin its deadline). A route handler responds first; Next.js finishes the\nrevalidation after the response. If the revalidation could not be stored within\n5 s, it is retried on later cache reads and the second purge is scheduled once\nit is stored; `flushSharedTagsMapping()` also stores such revalidations at\nshutdown.\n\n### How long revalidations are kept\n\n`revalidations.json` holds one entry per revalidated tag. At each deploy, the\nfirst process of the new build removes the entries older than the previous\nbuild: by then only `fetch()` and `unstable_cache` entries can be older than\nthose revalidations (route and `use cache` entries from an earlier build are\nnot served), so it first deletes the fetch entries the tags\nmapping lists under those tags. The object therefore holds roughly the\nrevalidations made since the previous deploy. Each build records when its\nprerenders were written (`builtAt` in `build-meta.json`, less a minute's\nmargin), so the first deploy after upgrading does not prune anything; pruning starts at\nthe one after. A fetch entry missing from the tags mapping (one whose mapping\nupdate was lost) is not deleted and is served again once its revalidation is\npruned.\n\n### Batching revalidations\n\nThe revalidations object accepts about one write per second across all\nprocesses. Next.js gathers every `revalidateTag()` and `revalidatePath()` call\nmade while handling one request and passes them to the handler together, one\ncall per cacheLife profile, so they share a write. Revalidations that reach a\nprocess within 250 ms of each other share one too. A CMS that sends one webhook\nper changed item, many per second, makes processes take turns on the object\nand delays each revalidation; send the changed items in one request instead:\n\n```ts\n// app/api/revalidate/route.ts\nimport { revalidateTag } from 'next/cache';\n\nexport async function POST(request: Request) {\n  // Verify the webhook's signature or shared secret first.\n  const { tags } = (await request.json()) as { tags: string[] };\n  for (const tag of tags) {\n    revalidateTag(tag, 'max');\n  }\n  return Response.json({ revalidated: tags.length });\n}\n```\n\n### File handler\n\nThe file handler (local development, or `type: 'file'`) keeps revalidations in\nits own process: it does not share them through `.next/cache`, and it does not\npurge the CDN. Several processes sharing one `.next/cache` directory can each \nserve an entry another process revalidated until they regenerate it. Use the \nGCS handler for more than one process.\n\n### CDN purge paths\n\nPath purges use the URL the page is served at: with `basePath`, with the slash\n`trailingSlash: true` adds, and, for a Pages Router page, also its\n`/_next/data/<buildId>/…json` data route and, under a default locale (`i18n`),\nits URL without the locale prefix. These settings are read from the build\noutput (`required-server-files.json` and `BUILD_ID`).\n`clearEdgeCachePaths()` gives the paths you pass the trailing slash the site\nserves them with: added with `trailingSlash: true`, removed without it, and\ndrops any query string or fragment, since the CDN keys a page by its path alone.\n`clearEdgeCachePaths()` purges only the paths you pass. To purge a Pages Router\npage yourself, also pass its data route (`/_next/data/<buildId>/blog.json`) and,\nfor a default-locale page, both URLs (`/en/blog` as well as `/blog`).\n\nThe `use cache` GCS handler writes its tag timestamps (`use-cache/_tags.json`)\nsynchronously on `updateTags()` so other instances see revalidations promptly,\nbut serializes concurrent calls, merges with the stored timestamps under the\nsame generation precondition, and backs off on failure.\n\n## Edge Cache Clearing\n\nWhen deployed on Pantheon, the cache handlers automatically clear the CDN edge cache when cache entries are invalidated. This is triggered by:\n\n- `revalidateTag()` calls (clears matching surrogate keys and paths)\n- `revalidatePath()` calls (clears the specific path from the CDN)\n- ISR regeneration storing a page (clears that page's paths)\n- A new build, when a starting process detects it (clears the whole CDN)\n- Another instance's revalidation, once this process reads it (clears the paths this process served from cache since)\n\nEdge cache clearing is enabled when the `OUTBOUND_PROXY_ENDPOINT` environment variable is set (automatically configured on Pantheon). `revalidateTag()` and `revalidatePath()` wait for the first purge, and a new build's full purge finishes before the process serves its first request; the other purges run in the background. A failed purge never fails the cache operation.\n\n## Build Invalidation\n\nOn each new build, the handler automatically:\n\n1. Detects the new build ID\n2. Invalidates the route cache (Full Route Cache)\n3. Preserves the data cache (Fetch Cache)\n\nThis matches Next.js's expected behavior where route cache is invalidated on each deploy but data cache persists.\n\nOn the GCS handler, a new build makes requests wait only for a full CDN purge and two small\nwrites: the clean-up job (`route-cache-cleanup.json`, next to `build-meta.json`), then the new\nbuild ID in `build-meta.json`. Deleting the earlier builds' entries runs in the background, so the\nfirst request after a deploy is answered in normal time however large `route-cache/` is. That is\nsafe because each route entry is stamped with the build that wrote it, and an entry from any other\nbuild is a cache miss (the build's prerender is used if there is one, otherwise the page is\nrendered again). Entries written before 0.13.4 carry no build and miss once. Fetch and image\nentries are not tied to a build and are kept across deploys.\n\nThe background delete lists `route-cache/` 1,000 objects at a time with at most\n`CACHE_INVALIDATION_DELETE_CONCURRENCY` deletes in flight, so memory stays flat. It skips entries\nwritten by the running build, including ones cached since the deploy, and each delete is\nconditional on the object being the version listed, so an entry rewritten in between is kept.\n\nOnly one instance at a time deletes. The job object is also a lock, taken with a conditional write\nand renewed every 15 s (also between batches of deletes, so a slow page doesn't outlast it) with\nthe last object name reached and the counts so far. If the holder stops, the lock lapses after\n60 s and the next instance to check resumes from that name. Instances check when they start and\nat most once a minute on route-cache reads. A newer deploy replaces the job, and an instance still\nworking on the old one stops at its next renewal (within about 15 s), or before it deletes from the\nnext page it lists.\nAnother instance of the same build noting a failed CDN purge on the job does not stop the holder.\nOn Cloud Run with request-based billing an instance gets almost no CPU between requests, so the\ndelete only progresses while requests arrive, and a paused holder loses its lock the same way.\n\nWhen the delete finishes, the job lists `route-cache/` again and removes from the tags map\n(`cache/tags/tags.json`) the route keys whose entries are not the running build's; fetch keys stay.\nEach key is decided as the listing reaches its entry, the decided keys are saved in\n`route-cache-cleanup-removals.json` next to the job, then removed in one write. The new build is\nserving meanwhile, and a page it caches after its key was decided would lose the key, so once the\nremovals are stored the job lists `route-cache/` again and adds back, with the tags the entry holds\nnow, the keys of pages cached since, by this build or by a newer one that replaced the job. A run\nthat stops before the add-back is stored leaves the saved removals, and the next run stores them\nagain and adds back again. Then the job deletes the saved removals and itself, and logs a warning:\n`Route cache clean-up for build <id> finished: deleted <n> objects of earlier builds (<listed> listed, <kept> of this build kept, <changed> rewritten during the delete kept), <failed> failed, in <ms>ms over <runs> run(s)`.\nWith `CACHE_BUILD_INVALIDATION=off` it logs `… finished: nothing deleted (CACHE_BUILD_INVALIDATION=off), tags map pruned, in <ms>ms over <runs> run(s)` instead.\nThe counts cover every run that worked on the job; a run killed without releasing the lock counts\nonly up to its last renewal.\n\nWhile it runs, the job logs its progress as a warning at most once every 5 minutes:\n`Route cache clean-up for build <id>: deleted <n> objects of earlier builds so far (<listed> listed, <kept> of this build kept), up to <object>, in run <run>`,\nthen `… pruning the tags map, in run <run>` once the delete is done.\n\nA failed full CDN purge is logged as an error and retried by later runs of the job, which stays\nuntil the purge succeeds or 5 runs have tried, when it gives up with an error. The first retry\nwaits 1 minute after the failed purge, and after each failed retry the next waits 1, 2, 4, then 8\nminutes, so the fifth comes about 16 minutes after the failed purge; a retry also waits for an\ninstance to check the job, at most once a minute on a route-cache read.\n\nA listing that fails with throttling, a timeout, a server error or a network error is retried\ntwice (after 1 s, then 2 s); deletes that fail that way are retried once per page. What still\nfails is logged with the failure counts by status (`503 x8, 403 x2`) and what to change: delete\npermission on the bucket (an error, since every deploy fails the same way until it is fixed), or\na lower `CACHE_INVALIDATION_DELETE_CONCURRENCY` for throttling. A listing that still fails stops\nthe run, which releases the lock with its progress for a later instance. Entries left behind by a\nfailed delete, or written by another revision during a rollout, are not served and are deleted at\na later deploy.\n\nIf the build ID can't be read (no `.next/BUILD_ID` or build manifest in the working directory),\nthe process gets a generation of its own, so the check is skipped with a warning instead of deleting\nthe route cache and purging the CDN on every cold start. Such a process can't tell builds apart: a deploy\nneither deletes the route cache nor purges the CDN, and it serves route entries from any build.\nStart the server from the directory that contains `.next`.\n\n## Debugging\n\nEnable debug logging to see detailed cache operations by setting the `CACHE_DEBUG` environment variable:\n\n```bash\n# Enable debug logging\nCACHE_DEBUG=true npm run start\n\n# Or\nCACHE_DEBUG=1 npm run start\n```\n\n### Log Levels\n\nThe cache handler uses four log levels:\n\n| Level | When Shown | Use Case |\n|-------|------------|----------|\n| `debug` | Only when `CACHE_DEBUG=true` | Verbose operational logs (GET, SET, HIT, MISS) |\n| `info` | Only when `CACHE_DEBUG=true` | Important events (initialization, cache cleared) |\n| `warn` | Always | Recoverable issues that might need attention |\n| `error` | Always | Errors that affect cache operations |\n\n### Example Output\n\nWhen debug logging is enabled, you'll see output like:\n\n```\n[GcsCacheHandler] Initializing cache handler\n[GcsCacheHandler] GET: /api/posts\n[GcsCacheHandler] HIT: /api/posts (route)\n[GcsCacheHandler] SET: /api/users (fetch)\n[EdgeCacheClear] Cleared 3 paths in 45ms\n[GcsCacheHandler] Revalidated tags posts, blog; 5 cache keys affected\n```\n\n## Publishing\n\n### Prerequisites\n\n1. Ensure you're logged into npm with access to the `@pantheon-systems` scope:\n   ```bash\n   npm login --scope=@pantheon-systems\n   ```\n\n2. Verify your login:\n   ```bash\n   npm whoami\n   ```\n\n### Publishing Steps\n\n1. **Update the version** in `package.json`:\n   ```bash\n   # Patch release (0.1.0 -> 0.1.1)\n   npm version patch\n\n   # Minor release (0.1.0 -> 0.2.0)\n   npm version minor\n\n   # Major release (0.1.0 -> 1.0.0)\n   npm version major\n   ```\n\n2. **Build and test**:\n   ```bash\n   npm run build\n   npm test\n   ```\n\n3. **Publish to npm**:\n   ```bash\n   npm publish --access public\n   ```\n\n   The `--access public` flag is required for scoped packages to be publicly accessible.\n\n### Verify Publication\n\nAfter publishing, verify the package is available:\n```bash\nnpm view @pantheon-systems/nextjs-cache-handler\n```\n\nOr install it in a test project:\n```bash\nnpm install @pantheon-systems/nextjs-cache-handler\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}