src/ProxyClient/Varnish.php 1 location
|
@@ 181-187 (lines=7) @@
|
178 |
|
/** |
179 |
|
* {@inheritdoc} |
180 |
|
*/ |
181 |
|
public function refresh($url, array $headers = []) |
182 |
|
{ |
183 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
184 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
185 |
|
|
186 |
|
return $this; |
187 |
|
} |
188 |
|
|
189 |
|
/** |
190 |
|
* {@inheritdoc} |
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 |
|
{ |