FOSHttpCache

Integrate your PHP application with your HTTP caching proxy

OTHER License

Downloads
11.6M
Stars
349
Committers
70
FOSHttpCache - 3.0.0 Latest Release

Published by dbu 6 months ago

  • Support Symfony 7
  • Drop support for Symfony < 6.4
  • Test with PHP 8.2 and 8.3
  • Drop support for PHP < 8.1
  • Switched to PSR-17 message factories
  • Switched some places to PSR-18 HTTP client. The main functionality needs the Httplug Async Client specification. There is no PSR for asynchronous clients.
  • Parameter and return type declarations where possible.
  • Ignore empty tag lists passed to TagCapable::invalidateTags so you don't need to check if there are tags or not.
FOSHttpCache - 2.15.3

Published by dbu 11 months ago

  • Avoid deprecated RequestMatcher in favor of IpsRequestMatcher.
FOSHttpCache - 2.15.2

Published by dbu 11 months ago

  • Declare incompatibility with Symfony 7 because it removes RequestMatcher.
FOSHttpCache - 2.15.1

Published by dbu over 1 year ago

  • Directly require php-http/message-factory to keep working with the legacy factories.
FOSHttpCache - 2.15.0

Published by dbu almost 2 years ago

  • Provide a TagHeaderParser that can split up a tag header into the list of tags.
    This allows to correctly handle non-default tag separators in all places.
FOSHttpCache - 2.14.2

Published by dbu almost 2 years ago

  • Fixed varnish configuration examples to say Authorization and not Autorization.
FOSHttpCache - 2.14.1

Published by dbu over 2 years ago

  • Fixed dummy interface name for code scanners to match the expected name.
FOSHttpCache - 2.14.0

Published by dbu over 2 years ago

Symfony Compatibility

  • Removed the internal BaseEvent class and extend our events from the Symfony contracts class directly.
  • Made the CacheInvalidation interface compatible with Symfony 6.
    Symfony 6 does a BC break for HttpKernelInterface::fetch - if you implement the method in your application,
    you need to adjust when upgrading to Symfony 6.
FOSHttpCache - 2.12.1

Published by dbu over 2 years ago

Symfony Compatibility

  • Do not extend the wrong Event class when installed with legacy Symfony but the Symfony contracts happen to be installed
FOSHttpCache - 2.13.0

Published by dbu almost 3 years ago

  • Allow installation with Symfony 6 components
  • Drop support for Symfony 3, minimal version is now 4.3
FOSHttpCache - 2.12.0

Published by dbu almost 3 years ago

Cloudflare

  • Added Cloudflare ProxyClient Adapter with ClearCapable, PurgeCapable and
    TagCapable. This allows to use FOSHttpCache to invalidate caches on
    Cloudflare. See the "Proxy Client" section of the documentation for how to
    configure the Cloudflare client.

Varnish Cache

  • Added a fos_user_context_hash method to be called in vcl_hash when using the user context
    hash mechanism. This can avoid performance problems Varnish can run into when the hash Varys on
    the basic authentication or session cookie.
    If you use the user context, read the updated documentation and call fos_user_context_hash in
    your vcl_hash function.

Noop Client

  • Implemented ClearCapable.
FOSHttpCache - 2.11.0

Published by dbu about 3 years ago

Symfony HttpCache

  • Added flag on CustomTtlListener to allow keeping the custom TTL header on the response

Fastly client

  • Marked the @internal constants in FOS\HttpCache\ProxyClient\Fastly as private
FOSHttpCache - 2.10.1

Published by dbu over 3 years ago

HttpDispatcher

  • Fix how we create exceptions to get the expected exception rather than a PHP error
FOSHttpCache - 2.10.0

Published by dbu almost 4 years ago

General

  • Raised minimal PHP version to 7.2
  • Added support for PHP 8.0

Symfony HttpCache

  • Added a neutral "Bad Request" body to user hash mismatch response to have
    something searchable in the code when debugging.
FOSHttpCache - 1.4.6

Published by dbu over 4 years ago

Symfony HttpCache

  • Added a neutral "Bad Request" body to user hash mismatch response to have
    something searchable in the code when debugging.
FOSHttpCache - 2.9.2

Published by dbu over 4 years ago

Proxy Client

  • Fix: Preserve inline credentials when multiplexing to the proxy servers.
FOSHttpCache - 2.9.1

Published by dbu over 4 years ago

Proxy Client

FOSHttpCache - 2.9.0

Published by dbu over 4 years ago

General

  • Added support for the fastly caching service
  • Raised minimal PHP version to 7.1
  • Test helper classes upgraded to support PHPUnit 7/8

Symfony HttpCache

  • Fixed issue with PurgeTagsListener and Symfony 5
  • Fixed clearing the cache completely together with toflar psr6 store did not work
FOSHttpCache - 2.8.0

Published by dbu almost 5 years ago

  • Support Symfony 5
  • Use LegacyEventDispatcherProxy for Symfony >= 4.3 to avoid deprecation messages.
FOSHttpCache - 2.7.0

Published by dbu over 5 years ago

Symfony HttpCache

  • Added request type to the CacheEvent.