Skip to content

Latest commit

 

History

History
39 lines (37 loc) · 1.28 KB

2023-11-24-remove-http-cache-deprecations.md

File metadata and controls

39 lines (37 loc) · 1.28 KB
title issue author author_email
Remove http cache deprecations
NEXT-30261
Oliver Skroblin

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:

storefront:
    reverse_proxy:
        enabled: true
        ...
    http_cache:
      ignored_url_parameters: true
        ...

After:

shopware:
    http_cache:
        reverse_proxy:
            enabled: true
            ...
        ignored_url_parameters: true
        ...