Skip to content

Commit

Permalink
Update src/run/handlers/cache.cts
Browse files Browse the repository at this point in the history
Co-authored-by: Philippe Serhal <[email protected]>
  • Loading branch information
pieh and serhalp authored Jun 24, 2024
1 parent 4b6de32 commit eaa7e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run/handlers/cache.cts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export class NetlifyCacheHandler implements CacheHandler {

const value = this.transformToStorableObject(data, context)

// if previous CacheHandler.get call returned null (page was either never rendered on was on-demand revalidated)
// if previous CacheHandler.get call returned null (page was either never rendered or was on-demand revalidated)
// and we didn't yet capture cache tags, we try to get cache tags from freshly produced cache value
this.captureCacheTags(value, key)

Expand Down

0 comments on commit eaa7e5d

Please sign in to comment.