eZ/Publish/Core/MVC/Symfony/Cache/Http/LocationAwareStore.php 1 location
|
@@ 141-143 (lines=3) @@
|
| 138 |
|
*/ |
| 139 |
|
public function purgeByRequest(Request $request) |
| 140 |
|
{ |
| 141 |
|
if (!$request->headers->has('X-Location-Id') && !$request->headers->has('X-Group-Location-Id')) { |
| 142 |
|
return $this->purge($request->getUri()); |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
// Purge everything |
| 146 |
|
$locationId = $request->headers->get('X-Location-Id'); |
eZ/Publish/Core/MVC/Symfony/Cache/Http/Proxy/TagAwareStore.php 1 location
|
@@ 103-105 (lines=3) @@
|
| 100 |
|
*/ |
| 101 |
|
public function purgeByRequest(Request $request) |
| 102 |
|
{ |
| 103 |
|
if (!$request->headers->has('X-Location-Id') && !$request->headers->has('xkey')) { |
| 104 |
|
return $this->purge($request->getUri()); |
| 105 |
|
} |
| 106 |
|
|
| 107 |
|
// For BC with older purge code covering most use cases. |
| 108 |
|
$locationId = $request->headers->get('X-Location-Id'); |