Skip to content

Commit 1c23b89

Browse files
logaretms1gr1d
andauthored
fix: typo
Co-authored-by: Sigrid Huemer <[email protected]>
1 parent d945791 commit 1c23b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/runtime/plugins/storage.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const CACHED_FN_HANDLERS_RE = /^nitro:(functions|handlers):/i;
238238

239239
/**
240240
* Since Nitro's cache may not utilize the driver's TTL, it is possible that the value is present in the cache but won't be used by Nitro.
241-
* The maxAge and expires values is serialized by Nitro in the cache entry. This means the value presence does not necessarily mean a cache hit.
241+
* The maxAge and expires values are serialized by Nitro in the cache entry. This means the value presence does not necessarily mean a cache hit.
242242
* So in order to properly report cache hits for `defineCachedFunction` and `defineCachedEventHandler` we need to check the cached value ourselves.
243243
* First we check if the key matches the `defineCachedFunction` or `defineCachedEventHandler` key patterns, and if so we check the cached value.
244244
*/

0 commit comments

Comments
 (0)