Skip to content

Performance: moin scans the filesystem for existing jinja templates with each request #1875

Open
@roland-ruedenauer

Description

@roland-ruedenauer

While testing moin I made the observation, that moin is looking for existing template files with each web request (often multiple times). This unnecessary io should be avoided. It takes place in the flask-theme package.
I've prepared a quick fix showing the problematic code: see this branch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions