Version 1
[yaffs-website] / vendor / symfony / http-kernel / HttpCache / EsiResponseCacheStrategy.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * This code is partially based on the Rack-Cache library by Ryan Tomayko,
9  * which is released under the MIT license.
10  * (based on commit 02d2b48d75bcb63cf1c0c7149c077ad256542801)
11  *
12  * For the full copyright and license information, please view the LICENSE
13  * file that was distributed with this source code.
14  */
15
16 namespace Symfony\Component\HttpKernel\HttpCache;
17
18 @trigger_error('The '.__NAMESPACE__.'\EsiResponseCacheStrategy class is deprecated since version 2.6 and will be removed in 3.0. Use the Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategy class instead.', E_USER_DEPRECATED);
19
20 /**
21  * EsiResponseCacheStrategy knows how to compute the Response cache HTTP header
22  * based on the different ESI response cache headers.
23  *
24  * This implementation changes the master response TTL to the smallest TTL received
25  * or force validation if one of the ESI has validation cache strategy.
26  *
27  * @author Fabien Potencier <fabien@symfony.com>
28  *
29  * @deprecated since version 2.6, to be removed in 3.0. Use ResponseCacheStrategy instead
30  */
31 class EsiResponseCacheStrategy extends ResponseCacheStrategy implements EsiResponseCacheStrategyInterface
32 {
33 }