Skip to content

Tracy panel lazy loadingΒ #530

@janbarasek

Description

@janbarasek

Hello,

As a package developer, I like to provide debug information to developers via the Tracy panel. However, getting some data takes a long time and is not necessary to do in every request (for example, mapping all entities in Doctrine).

I'd like to introduce the concept of lazy loading of panels in Tracy, which will compile their content after the panel is clicked.

I've been thinking about the concept of builds, and lazy loading should only work for panels that work in isolation from the current request and can always be retrieved for their content. For example, the panel would be called as a DIC service and so on (I would be very happy for more ideas on how this could work).

Also, panels should natively be able to be set to not be rendered during ajax. This then delays the loading of the whole page, even though I don't need the panel most of the time.

Thank you.

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