Skip to content

Add in library cache functionality #3

@developerKumar

Description

@developerKumar

What needs to be done?

Add a feature to store the fetched data in cache, and if we get same function again then use from cache not from code. It should be configurable.

Benefits

Consider a case: Where we are generating 1k static pages, and those pages uses some common data, and that data is being fetch from some other API like CMS or something,
then it will hit 1k times the CMS to get same data, So to avoid these unnecessary hits at build time, we can use cache in library to store the data and use the same data if function name is same for upcoming pages at build time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions