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