Skip to content

Configured Layers are being fetched on every request #8372

@MatteoPiovanelli

Description

@MatteoPiovanelli

On every request, all configured (and published) Layer (from the Orcahrd.Widgets module) content items are being fetched to test whether each one is active for the specific page being displayed.
Since these contents generally don't change very often, we end up with the same list of contents again and again.

I will soon post a PR where I propose to solve this by caching the result of that query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions