Snippets within Document - does Snippets use his own controller?


Hello everybody, i´ve a small understanding problem in my current project (use pimcore the first time in a project).

I can define documents, and assign them controller, action and templates - that´s clear so far.

But i can define “Snippets” - looks like document, i can assign them the same (controller, action, template).

Within a document i can use a the “Snippet Editable”.

Am i right, that the snippet is rendered from his own defined controller and only the result ist used within the document with the editable?

Regards, Michael


Yes, that’s correct.
If you have a look at the Symfony profiler you can see in the request/response tab, that the snippet is rendered within a Sub-Request: