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} |
src/ProxyClient/Symfony.php 1 location
|
@@ 47-53 (lines=7) @@
|
| 44 |
|
/** |
| 45 |
|
* {@inheritdoc} |
| 46 |
|
*/ |
| 47 |
|
public function refresh($url, array $headers = []) |
| 48 |
|
{ |
| 49 |
|
$headers = array_merge($headers, ['Cache-Control' => 'no-cache']); |
| 50 |
|
$this->queueRequest(self::HTTP_METHOD_REFRESH, $url, $headers); |
| 51 |
|
|
| 52 |
|
return $this; |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
protected function configureOptions() |
| 56 |
|
{ |