src/ProxyClient/Symfony.php 1 location
|
@@ 62-68 (lines=7) @@
|
| 59 |
|
/** |
| 60 |
|
* {@inheritdoc} |
| 61 |
|
*/ |
| 62 |
|
public function refresh($url, array $headers = []) |
| 63 |
|
{ |
| 64 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
| 65 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
| 66 |
|
|
| 67 |
|
return $this; |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
protected function getDefaultOptions() |
| 71 |
|
{ |
src/ProxyClient/Varnish.php 1 location
|
@@ 185-191 (lines=7) @@
|
| 182 |
|
/** |
| 183 |
|
* {@inheritdoc} |
| 184 |
|
*/ |
| 185 |
|
public function refresh($url, array $headers = []) |
| 186 |
|
{ |
| 187 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
| 188 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
| 189 |
|
|
| 190 |
|
return $this; |
| 191 |
|
} |
| 192 |
|
|
| 193 |
|
/** |
| 194 |
|
* {@inheritdoc} |