Skip to main content Skip to search Skip to main navigation
Meet Shopware Payments Fast. Powerful. Yours to control. Discover payments
Diese Seite ist auch auf Deutsch verfügbar.
Friends of Shopware

HTTP Cache Switch

Rating: no rating ( write a review )
Downloads: <100

Description

About the Extension

This app configures Shopware to use a custom store for the HTTP Cache which includes an IP filter, effectively skipping the HTTP Cache delivery for the provided IP addresses. The cache can also be skipped by pre-defined URL parameters and cookies if set. Useful for testing/debugging in production environments, when there is no alternative.

After the installation your config.php should look something like this:

require_once __DIR__ . '/custom/plugins/FroshHttpCacheIpExclude/Components/IpExcludeStore.php'; return array ( 'db' => array ( // ... ), // ... 'httpcache' => array ( 'storeClass' => 'FroshHttpCacheIpExclude\\Components\\IpExcludeStore', 'extended' => array ( 'passedStoreClass' => NULL, 'ipExcludes' => array ( ), 'paramExcludes' => array ( ), 'cookieExcludes' => array ( ), ), ), );

Use the ipExcludes property under extended for an array of IP addresses that will subsequently not be served cached pages.

Use the passedStoreClass property under extended to provide a custom store class that will then be passed through the IpExcludeStore.

Additionally you can use paramExcludes to define a list of GET parameters or cookieExcludes to define a list of cookies that, if set, will circumvent the cache.


This plugin is part of the Github Organization  FriendsOfShopware .  Maintainer from the plugin is: David Neustadt You can find the Github repository hereFor questions or bugs please create a Github Issue

Details

  • Available: English, German
  • Latest update: 5 June 2025
  • Publication date: 18 January 2019
  • Version: 1.0.0
  • Category: Administration

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

Friends of Shopware

Friends of Shopware

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 4.7

    Average rating of 4.7 out of 5 stars

  • Partner since: 2019
  • Extensions: 33

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly