Download the PHP package augustash/drupal_cache_protection without Composer
On this page you can find all versions of the php package augustash/drupal_cache_protection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download augustash/drupal_cache_protection
More information about augustash/drupal_cache_protection
Files in augustash/drupal_cache_protection
Package drupal_cache_protection
Short Description Protects Drupal page cache from fragmentation by tracking parameters and bot abuse
License proprietary
Homepage https://github.com/augustash/drupal-cache-protection
Informations about the package drupal_cache_protection
Drupal Cache Protection
Protects Drupal page cache from fragmentation by tracking parameters and bot abuse.
Install
Submodules
The parent module always belongs on. Submodules are opt-in based on what features the site exposes — enable each only when its trigger is present.
drupal_cache_protection_facets
Enable when: drupal/facets is enabled on the site.
Facet bot protection — count throttle, alias validation, per-IP rate limit on faceted requests. Skip on sites without faceted browsing; the middleware would only inspect requests that never reach it.
drupal_cache_protection_search
Enable when: any search exposure is present — Drupal core Search, search_api, Solr, or a custom search route reachable from the front end.
Per-IP rate limiting and page-cache kill switch on search routes. Bots blast unique queries to fragment cache_page and overload Solr — this throttles them and prevents the responses from being cached.
- Two flood windows (burst + sustained), either limit triggers a 429.
- Only acts when a configured search query parameter is present (e.g.
?s=...), so the empty search form stays cacheable. - Configure at
/admin/config/search/cache-protection/search.