PHPackages                             swag/disable-store-api-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. swag/disable-store-api-cache

ActiveShopware-platform-plugin[Caching](/categories/caching)

swag/disable-store-api-cache
============================

Disables the store-api object cache layer, which is redundant when an HTTP cache (reverse proxy / Symfony HTTP cache) is in front.

0.1.0(yesterday)01↑2900%MITPHP

Since Jun 26Pushed yesterdayCompare

[ Source](https://github.com/shopwareLabs/SwagDisableStoreAPICache)[ Packagist](https://packagist.org/packages/swag/disable-store-api-cache)[ RSS](/packages/swag-disable-store-api-cache/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

SwagDisableStoreAPICache
========================

[](#swagdisablestoreapicache)

Disables the **store-api object cache** layer in Shopware 6.6.

Why
---

[](#why)

Many store-api routes have a cache decorator — e.g. `CachedProductDetailRoute` wraps `ProductDetailRoute` and stores responses in the `cache.object` pool. This plugin disables the content routes whose payloads are heavy and fully covered by an HTTP cache:

- the product routes (detail, listing, search, suggest, review, cross-selling),
- navigation and category,
- landing page, and
- sitemap.

The lightweight system/checkout routes (language, country, currency, salutation, payment, shipping) are intentionally left cached.

When an **HTTP cache** (reverse proxy such as Varnish/Fastly, or the Symfony HTTP cache) sits in front of the shop, store-api responses are already cached at the HTTP layer. The object cache underneath then only adds:

- serialization / compression overhead on every request,
- an extra cache roundtrip, and
- a second invalidation surface that has to be kept in sync.

This plugin removes that redundant layer so the original, undecorated routes are used directly.

Installation
------------

[](#installation)

```
composer require swag/disable-store-api-cache
bin/console plugin:refresh
bin/console plugin:install --activate SwagDisableStoreAPICache
bin/console cache:clear
```

Verify the decorators are gone:

```
bin/console debug:container CachedProductDetailRoute   # should report "not found"
```

Compatibility
-------------

[](#compatibility)

- Requires **Shopware 6.6** (`shopware/core: ~6.6.0`).
- **Not needed on Shopware 6.7+.** These `Cached*Route` decorators are deprecated in 6.6 (`@deprecated tag:v6.7.0 - reason:decoration-will-be-removed`) and have been **removed entirely in 6.7** as part of the cache rework — there is no store-api object cache layer to disable there. Do not install this plugin on 6.7 or later.

License
-------

[](#license)

MIT — see [LICENSE](LICENSE).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c45ef9077b73fce78afbfab2fa27e611a453dd77de003e2785ac84105d02bef?d=identicon)[shyim](/maintainers/shyim)

---

Top Contributors

[![shyim](https://avatars.githubusercontent.com/u/6224096?v=4)](https://github.com/shyim "shyim (2 commits)")

---

Tags

cachehttp-cacheperformanceshopwareshopware-pluginshopware6store-api

### Embed Badge

![Health badge](/badges/swag-disable-store-api-cache/health.svg)

```
[![Health](https://phpackages.com/badges/swag-disable-store-api-cache/health.svg)](https://phpackages.com/packages/swag-disable-store-api-cache)
```

###  Alternatives

[shopware/storefront

Storefront for Shopware

674.4M209](/packages/shopware-storefront)[shopware/production

177202.8k](/packages/shopware-production)[frosh/tools

Provides some basic things for managing the Shopware Installation

86783.3k3](/packages/frosh-tools)[shopware/administration

Administration frontend for the Shopware Core

404.2M106](/packages/shopware-administration)[shopware/elasticsearch

Elasticsearch for Shopware

143.8M15](/packages/shopware-elasticsearch)[adyen/adyen-shopware6

Official Shopware 6 Plugin to connect to Payment Service Provider Adyen

25115.8k](/packages/adyen-adyen-shopware6)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
