src/ProxyClient/Symfony.php 1 location
|
@@ 44-50 (lines=7) @@
|
41 |
|
/** |
42 |
|
* {@inheritdoc} |
43 |
|
*/ |
44 |
|
public function refresh($url, array $headers = []) |
45 |
|
{ |
46 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
47 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
48 |
|
|
49 |
|
return $this; |
50 |
|
} |
51 |
|
|
52 |
|
protected function configureOptions() |
53 |
|
{ |
src/ProxyClient/Varnish.php 1 location
|
@@ 134-140 (lines=7) @@
|
131 |
|
/** |
132 |
|
* {@inheritdoc} |
133 |
|
*/ |
134 |
|
public function refresh($url, array $headers = []) |
135 |
|
{ |
136 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
137 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
138 |
|
|
139 |
|
return $this; |
140 |
|
} |
141 |
|
|
142 |
|
/** |
143 |
|
* {@inheritdoc} |