Skip to content

Use a query cache on the source block component #54

@ggrossetie

Description

@ggrossetie

The goal is to reduce the number of queries sent to Neo4j sandbox, aura and the GraphGists portal.

It should be possible to populate the cache from a query result generated at build time.
For instance, the GraphGists build could generate static files in the attachments directory that contain query results.

The source block component will then check if a file exists for a given couple page-query.

The source block component will use the cache when available. If not, it will switch to interactive mode and query the backend.

We could use a md5sum of the query as a unique key.

We can use https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage to save data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions