Eager-Load­ing Elements

Improve the performance of your website and optimize your element database queries using eager-loading and the with parameter. Eager-loading elements gives you the ability to tell Craft which sub-elements you need up front so Craft can fetch them in advance and you and your clients can smile at the end of each page load.

Level up in Craft CMS with practical examples, snippets, and patterns.
Craft The Planet emails are sent out several times a week.