Eager Beaver
DEPRECATED
This Craft CMS plugin is no longer supported or maintained, but it is fully functional, and you may continue to use it as you see fit. The license also allows you to fork it and make changes as needed for legacy support reasons.
Instead, use Craft's native functionality for eager loading, or with Craft 5 or later, use .eagerly()
for lazy eager loading.
Craft's Eager-Loading Elements allows you to nicely optimize your templates by telling Craft to load everything you need in one big query.
The only rub is that you can't specify this eager loading behavior for entry, category, or product elements that are auto-injected into your template.
Eager Beaver is a small plugin that allows you to eager load sub-elements like Assets, Categories, Users, etc. to these auto-injected elements.
This is especially useful if you have pages that use Matrix block "content builders", and thus will typically result in loading a number of relations like Assets contained in Matrix blocks to render a page.
To install this plugin, copy the command above to your terminal.
This plugin doesn't have any reviews.