Easticsearch or OpenSearch consumes higher-than-expected memory or CPU resources
Every search, category page and filtered browsing view in Magento requests a set of results and a set of filter options from your search service. On a large catalogue those requests can grow very large, quietly consuming server resources on every single page view.
This extension sets a maximum — one number you control from the admin panel — and makes sure it is never exceeded. Whatever a request asks for, only up to your limit is ever retrieved. You decide the ceiling; the extension enforces it everywhere.
## Features
- **Maximum results per search.** Set the highest number of results a single search may retrieve. Anything above your limit is trimmed down to it.
- **Maximum options per filter.** Set how many values each filter in your layered navigation may return, so attributes with thousands of values stop pulling their entire option list on every page.
- **Deep pagination protection (optional).** Put a ceiling on how far a visitor can page through results.
- **Total-result counting control (optional).** Trade exact result counters for extra speed on very large catalogues.
- **Configurable per scope.** Set different limits globally, per website, or per store view.
- **One master switch.** Enable or disable the entire extension instantly, with no code changes.
- **Optional logging.** Record every value that gets trimmed, so you can see the effect before and after.
## Benefits
- Noticeably lighter activity on your search service during browsing and searching.
- Lower server load and faster page responses, especially under heavy traffic.
- Filter menus stay responsive even when attributes have thousands of possible values.
- Your storefront keeps working exactly as before — shoppers simply get a faster experience.
- Nothing breaks: values are only ever reduced, never increased, and a search can never fail because of the limit.
- Fully reversible: one setting turns it off, and nothing in Magento core is modified.
## At a Glance
| | |
| --- | --- |
| Limits the number of results per search | Yes |
| Limits the number of options per filter | Yes |
| Deep pagination protection | Optional |
| Total-result counting control | Optional |
| Admin-configurable | Yes — default, website and store view scope |
| Master on/off switch | Yes |
| Logging of limited values | Yes, optional |
| Magento core files modified | None |
| Other extensions required | None |
| Safe to disable at any time | Yes |
## Who It Is For
Stores with large catalogues, many filterable attributes, or high search traffic — anyone who needs search and browsing to stay fast as the product count grows.
## Compatibility
Magento 2.4.x (Open Source and Adobe Commerce). No third-party extensions required.