bright-cloud-studio/contao-isotope-cumulative-filter
Composer 安装命令:
composer require bright-cloud-studio/contao-isotope-cumulative-filter
包简介
Extends Isotope's Cumulative Filter for Contao 4.13+ to replace session-based URL parameters with deterministic MD5 keys, preventing crawler URL explosion, and injects noindex/nofollow on filtered product list pages.
README 文档
README
A drop-in Contao bundle that fixes Isotope's Cumulative Filter module to use deterministic, content-based URL parameters — preventing search engine robots from crawling an infinite stream of unique filter URLs. No reconfiguration required.
The Problem
Isotope's native Cumulative Filter stores each unique filter combination as a row in tl_iso_requestcache and exposes the row's auto-increment integer ID in the URL as ?isorc=<id>. Because every unique filter combination produces a new, never-before-seen integer ID, search engine robots encounter an endless supply of distinct URLs and can crawl indefinitely — consuming crawl budget and potentially causing indexing issues.
The Solution
This bundle replaces the auto-increment integer in ?isorc= with a deterministic MD5 hash of the filter configuration. The same combination of filters always produces the same hash, so robots never encounter a URL they haven't already seen. Pages with active filter parameters are also marked noindex,nofollow automatically.
The hash is resolved back to the corresponding database row ID transparently before Isotope's native lookup runs, so Isotope core requires no modifications and your existing frontend modules require no reconfiguration.
Requirements
- PHP
^7.4 || ^8.0 - Contao
^4.13 || ^5.3 - Isotope eCommerce (with the
iso_cumulativefilterfrontend module)
Installation
composer require bright-cloud-studio/contao-isotope-cumulative-filter
After installation, run a Contao database update if prompted. Your existing Cumulative Filter modules will immediately use the new behaviour — no changes in the backend are needed.
How It Works
Module Override
The bundle registers its extended class against Isotope's existing iso_cumulativefilter key in $GLOBALS['FE_MOD'], replacing the default class transparently. Your existing Cumulative Filter frontend modules continue to work as-is — they just now go through the extended class instead of Isotope's original.
The extended class intercepts the filter save request, persists the filter state via Isotope's own RequestCache::saveNewConfiguration(), then reads the config_hash column and redirects to ?isorc=<hash> instead of ?isorc=<id>.
InitializeRequestCacheListener (Hook: initializeSystem)
Fires before Isotope initialises. When ?isorc= contains a 32-character hex hash, it looks up the corresponding integer ID in tl_iso_requestcache and rewrites $_GET['isorc'] in place. Isotope's unmodified RequestCache::findByIdAndStore() then proceeds normally. If the hash is not found (cache purged or stale URL), the parameter is removed entirely so Isotope does not mark the page as invalid.
GeneratePageListener (Hook: generatePage)
Detects requests containing isorc or cumulativefilter query parameters and sets the page's robots directive to noindex,nofollow, keeping filtered pages out of search engine indexes.
License
LGPL-3.0-or-later. See LICENSE for full terms.
Credits
Developed by Mark St. Jean at Bright Cloud Studio.
bright-cloud-studio/contao-isotope-cumulative-filter 适用场景与选型建议
bright-cloud-studio/contao-isotope-cumulative-filter 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「filter」 「cloud」 「contao」 「isotope」 「studio」 「bright」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bright-cloud-studio/contao-isotope-cumulative-filter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bright-cloud-studio/contao-isotope-cumulative-filter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bright-cloud-studio/contao-isotope-cumulative-filter 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A SDK for working with B2 cloud storage.
Small library to access Microsoft Windows Azure Blob Storage with a Service or a StreamWrapper.
Contao Open Source CMS
Nova searchable filter for belongsTo relationships.
UCloud Resource (Cloud) Storage SDK for PHP
The flysystem adapter for yandex disk rest api.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 34
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2026-03-13