teamneusta / pimcore-http-cache-bundle
Adds active cache invalidation to pimcore via cache tags.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 11
Forks: 0
Open Issues: 5
Type:pimcore-bundle
Requires
- php: ~8.1.0 || ~8.2.0
- friendsofsymfony/http-cache: ^2.16
- friendsofsymfony/http-cache-bundle: ^2.17
- pimcore/pimcore: ^10.6 || ^11.2
- psr/log: ^1.0 || ^2.0 || ^3.0
- symfony/config: ^5.4 || ^6.4
- symfony/contracts: ^2.5 || ^3.5
- symfony/dependency-injection: ^5.4 || ^6.4
- symfony/event-dispatcher: ^5.4 || ^6.4
- symfony/http-kernel: ^5.4 || ^6.4
- symfony/messenger: ^5.4 || ^6.4
Requires (Dev)
- dg/bypass-finals: ^1.9
- ergebnis/composer-normalize: ^2.45
- friendsofphp/php-cs-fixer: ^3.71
- jangregor/phpstan-prophecy: ^1.0
- laminas/laminas-zendframework-bridge: ^1.8
- phpspec/prophecy: ^1.20
- phpspec/prophecy-phpunit: ^2.3
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^1.12
- phpstan/phpstan-phpunit: ^1.4
- phpstan/phpstan-symfony: ^1.4
- phpunit/phpunit: ^9.6
- symfony/browser-kit: ^5.4 || ^6.4
- teamneusta/pimcore-testing-framework: ^0.12.10
Conflicts
- jms/serializer-bundle: <4.2
- masterminds/html5: <2.7.5
- phpspec/prophecy: <1.15.0
- webmozart/assert: <1.11
This package is not auto-updated.
Last update: 2025-04-22 15:46:16 UTC
README
Installation
-
Require the bundle
composer require teamneusta/pimcore-http-cache-bundle
-
Enable the bundle
Add the Bundle to your
config/bundles.php
:Neusta\Pimcore\HttpCacheBundle\NeustaPimcoreHttpCacheBundle::class => ['all' => true],
Usage
TODO
Configuration
neusta_pimcore_http_cache: # Enable/disable cache handling for certain element types elements: assets: # By default, every type except "folder" is enabled types: archive: false unknown: false # Unless you disable assets completely enabled: false documents: # By default, every type except "email", "folder" and "hardlink" is enabled types: link: false # Unless you disable documents completely enabled: false objects: # By default, every type except "folder" is enabled types: variant: false # By default, every data object class is enabled classes: MyDataObjectClass: false # Unless you disable data objects completely enabled: false # Enable/disable cache handling for custom cache types # Note that custom types MUST be defined (and enabled) here to be tagged/invalidated! cache_types: someType: true otherType: false
Contribution
Feel free to open issues for any bug, feature request, or other ideas.
Please remember to create an issue before creating large pull requests.
Local Development
Build the Docker container with:
docker compose build
To develop on your local machine, the vendor dependencies are required.
bin/composer install
We use composer scripts for our main quality tools. They can be executed via the bin/composer
file as well.
bin/composer cs:fix bin/composer phpstan bin/composer tests