teamneusta/pimcore-http-cache-bundle

Adds active cache invalidation to pimcore via cache tags.

dev-main 2025-03-12 09:35 UTC

This package is not auto-updated.

Last update: 2025-03-12 13:01:49 UTC


README

Installation

  1. Require the bundle

    composer require teamneusta/pimcore-http-cache-bundle
  2. 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
  # (tagging and banning when elements of these types change).
  asset: true
  document: true
  object: true

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