Skip to content

Logs with prefetch warnings #114

@an2n

Description

@an2n

We’re seeing the following warning for every page during registerInitialCache:

[CacheHandler] [registerInitialCache] Failed to read page prefetch data, assuming it does not exist
Error: ENOENT: no such file or directory, open '/path/to/file.prefetch.rsc'

Since .prefetch.rsc files are optional, it might make sense to wrap this log statement in the existing debug condition to reduce noise in the logs.

I’m happy to open a PR for this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions