No Description

EsiResponseCacheStrategy.php 1.0KB

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