Skip to content

Commit f2ad9e7

Browse files
logaretms1gr1d
andcommitted
fix: typo
Co-authored-by: Sigrid Huemer <[email protected]>
1 parent 1051778 commit f2ad9e7

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
@@ -248,7 +248,7 @@ const CACHED_FN_HANDLERS_RE = /^nitro:(functions|handlers):/i;
248248

249249
/**
250250
* 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.
251-
* 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.
251+
* 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.
252252
* So in order to properly report cache hits for `defineCachedFunction` and `defineCachedEventHandler` we need to check the cached value ourselves.
253253
* First we check if the key matches the `defineCachedFunction` or `defineCachedEventHandler` key patterns, and if so we check the cached value.
254254
*/

0 commit comments

Comments
 (0)