{"id":13765696,"url":"https://github.com/FriendsOfShopware/FroshHttpCacheIpExclude","last_synced_at":"2025-05-10T21:31:27.006Z","repository":{"id":62507647,"uuid":"165628758","full_name":"FriendsOfShopware/FroshHttpCacheIpExclude","owner":"FriendsOfShopware","description":"This plugin allows you to exclude IP addresses from the HTTP cache","archived":false,"fork":false,"pushed_at":"2023-02-25T14:43:59.000Z","size":103,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-08-03T16:08:54.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FriendsOfShopware.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.MD","contributing":null,"funding":null,"license":"LICENSE.MD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-14T09:00:35.000Z","updated_at":"2023-02-24T14:43:48.000Z","dependencies_parsed_at":"2024-04-18T19:06:01.122Z","dependency_job_id":null,"html_url":"https://github.com/FriendsOfShopware/FroshHttpCacheIpExclude","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshHttpCacheIpExclude","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshHttpCacheIpExclude/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshHttpCacheIpExclude/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshHttpCacheIpExclude/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendsOfShopware","download_url":"https://codeload.github.com/FriendsOfShopware/FroshHttpCacheIpExclude/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224989380,"owners_count":17403408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:00:44.166Z","updated_at":"2024-11-17T01:31:16.572Z","avatar_url":"https://github.com/FriendsOfShopware.png","language":"PHP","funding_links":[],"categories":["Development Plugins","PHP"],"sub_categories":[],"readme":"# Shopware HTTP Cache IP Filter/Exclude\n\n[![Travis CI](https://travis-ci.org/FriendsOfShopware/FroshHttpCacheIpExclude.svg?branch=master)](https://travis-ci.org/FriendsOfShopware/FroshHttpCacheIpExclude)\n[![Download @ Community Store](https://img.shields.io/badge/endpoint.svg?url=https://api.friendsofshopware.com/FroshHttpCacheIpExclude)](https://store.shopware.com/en/frosh65843297862f/http-cache-switch.html)\n[![Join the chat at https://gitter.im/FriendsOfShopware/Lobby](https://badges.gitter.im/FriendsOfShopware/Lobby.svg)](https://gitter.im/FriendsOfShopware/Lobby)\n\nThis plugin configures Shopware to use a custom store for the HTTP Cache which includes an IP filter, effectively\nskipping the HTTP Cache delivery for the provided IP addresses. Useful for testing/debugging in production environments, when\nthere is no alternative.\n\n## Installation\n\n* Clone this repository into a folder **FroshHttpCacheIpExclude** within the **custom/plugins** directory of the Shopware installation.\n* Install the plugin through the Plugin-Manager within the Shopware backend.\n\n\n### Install with composer\n* Change to your root installation of shopware\n* Run command `composer require frosh/http-cache-ip-exclude` and install and activate plugin with Plugin Manager \n\n## Usage\n\nAfter the installation your `config.php` should look something like this:\n\n```php\nrequire_once __DIR__ . '/custom/plugins/FroshHttpCacheIpExclude/Components/IpExcludeStore.php';\nreturn array (\n  'db' =\u003e \n  array (\n    // ...\n  ),\n  // ...\n  'httpcache' =\u003e \n  array (\n    'storeClass' =\u003e 'FroshHttpCacheIpExclude\\\\Components\\\\IpExcludeStore',\n    'extended' =\u003e \n    array (\n      'passedStoreClass' =\u003e NULL,\n      'ipExcludes' =\u003e \n      array (\n      ),\n      'paramExcludes' =\u003e \n      array (\n      ),\n      'cookieExcludes' =\u003e \n      array (\n      ),\n    ),\n  ),\n);\n```\n\nUse the `passedStoreClass` property under `extended` to provide a custom store class that will then be passed through\nthe `IpExcludeStore`.\n\nAdditionally you can use `paramExcludes` to define a list of GET parameters\nor `cookieExcludes` to define a list of cookies that, if set, will circumvent the cache.\n\nUse the `ipExcludes` property under `extended` for an array of IP addresses that will subsequently not be served\ncached pages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFriendsOfShopware%2FFroshHttpCacheIpExclude","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFriendsOfShopware%2FFroshHttpCacheIpExclude","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFriendsOfShopware%2FFroshHttpCacheIpExclude/lists"}