Skip to content

Caching idea #249

@g105b

Description

@g105b

It would be really useful to be able to link data structures to root nodes of the DOM in some way that can cache the contents of the node depending on the data structure's content.

Say a URL /shop/apple/iphone12 performs a database lookup, then builds up an entity and then binds it to the DOM, it would be useful to intercept the whole data cycle, compare it to a cache key (in this case, the URL (maybe the database response on more dynamic websites)), then not bother having to do any binding at all, bypassing any expensive operations.

Just an idea for now. Let's see if I can introduce this concept into any real world projects any time soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNon-breaking improvements to existing behaviourquestionUsage questions or clarification requests

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions