This plugin is no longer maintained.

No Maintenance Intended

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.

Installation Instructions

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

Active Installs
1,557
Version
4.0.2
License
MIT
Compatibility
Craft 3, Craft 4
Last release
August 17, 2022
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs