Ctrl K
ComunidadGuías…

changelog/release-6-6-0-0/2023-11-24-remove-http-cache-deprecations.md

Rama trunk · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
---
title: Remove http cache deprecations
issue: NEXT-30261
author: Oliver Skroblin
author_email: o.skroblin@shopware.com
---

# Core
* Removed `Shopware\Storefront\Framework\Cache\ReverseProxy\*`, moved it to `Shopware\Core\Framework\Adapter\Cache\ReverseProxy\*`
* Removed `storefront.reverse_proxy` and `storefront.http_cache`, now stored under `shopware.http_cache.reverse_proxy` and `shopware.http_cache`
* Changed `\Shopware\Core\Framework\Adapter\Kernel\HttpCacheKernel::__construct` signature
* Removed `Shopware\Core\Framework\Adapter\Cache\InvalidatorStorage\CacheInvalidatorStorage`
* Removed `Shopware\Core\Framework\Api\Controller\CacheController::clearCacheAndScheduleWarmUp` 
* Removed `/api/_action/cache_warmup` endpoint
___
# Upgrade information
## Reverse proxy and http cache config moved to framework 

The reverse proxy and http cache config has been moved from `storefront.http_cache` and `storefront.reverse_proxy`  to `shopware.http_cache` and `shopware.http_cache.reverse_proxy`.
Before:
```yaml
storefront:
    reverse_proxy:
        enabled: true
        ...
    http_cache:
      ignored_url_parameters: true
        ...
```
After:
```yaml
shopware:
    http_cache:
        reverse_proxy:
            enabled: true
            ...
        ignored_url_parameters: true
        ...
```