Cache Layouts


is there a way to cache layouts? for example most of my page element such as main menu are in main layout and actually it’s static so it would be good to cache it.

I could not find a straight explanation for this issue on documentation


you could use "dynamic content cache":

and apply it as a filter in all controllers like described here:

why on the earth you wanna cache your static contents