Skip to content

Rollback DANGEROUSLY_DISABLE_OOM when V8.serialize is merged #13284

@wardpeet

Description

@wardpeet

Summary

A quick fix to enable gatsby users to disable redux state caching was introduced by #13066 as it caused out of memory issues for large websites. #10732 fixes this issue correctly by moving away from json-stringify into v8.serialize.

#10732 still keeps the redux state on disk which gives us the same speed benefits as we had before. With the temporary fix, we didn't have any cache which means our site takes more time to load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssue that doesn't require previous experience with Gatsbytype: maintenanceAn issue or pull request describing a change that isn't a bug, feature or documentation change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions