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.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
1,692
Version
1.0.5
License
MIT
Compatibility
Craft 3, Craft 4
Last release
July 18, 2022
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs