src/ProxyClient/Symfony.php 1 location
|
@@ 45-51 (lines=7) @@
|
42 |
|
/** |
43 |
|
* {@inheritdoc} |
44 |
|
*/ |
45 |
|
public function refresh($url, array $headers = []) |
46 |
|
{ |
47 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
48 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
49 |
|
|
50 |
|
return $this; |
51 |
|
} |
52 |
|
|
53 |
|
protected function getDefaultOptions() |
54 |
|
{ |
src/ProxyClient/Varnish.php 1 location
|
@@ 155-161 (lines=7) @@
|
152 |
|
/** |
153 |
|
* {@inheritdoc} |
154 |
|
*/ |
155 |
|
public function refresh($url, array $headers = []) |
156 |
|
{ |
157 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
158 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
159 |
|
|
160 |
|
return $this; |
161 |
|
} |
162 |
|
|
163 |
|
/** |
164 |
|
* {@inheritdoc} |