Where will be the biggest impact on performance?
Let's assume there is a start page of the site, which is a modular page and has 2 modulars using addInlineJS oder CSS.
To ensure that JS / CSS of the modular is rendered everytime, you can disable the caching of that modular.
what would be the best strategy to have maximum performance:
- disable twig caching completely
- disable cache in the modular
- disable cache in the page containing the modulars
Is there any best practice?
Do pages containing modulars get still cached even when some of the modulars are excluded from cache?