Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Http Cache Bundle Laravel Package

friendsofsymfony/http-cache-bundle

Symfony bundle to enhance HTTP caching: configure cache headers by path/controller, tag responses and invalidate by tags, set up invalidation schemes without code, send purge/ban requests efficiently, vary cache by user type, and plug in custom cache clients.

View on GitHub
Deep Wiki
Context7
3.4.1
  • Fixed configuration validation to allow generate_url_type also when proxy_client.varnish.http.base_url is configured, not only when proxy_client.[client].base_url is configured.
3.4.0
  • Configuration for generate_url_type is now on top level instead of on the cache_manager, and applies to the InvalidationListener too. Configuring cache_manager.generate_url_type is deprecated and will be removed in version 4.
3.3.0
  • Compatibility with Symfony 8 (changed configuration from XML to PHP).
  • Tested with PHP 8.5.
3.2.0
  • If a custom proxy client is configured on the cache manager, the ProxyClient class is an alias to that client, to support autowiring.
  • Attribute configuration now also works on single action controllers with the __invoke method.
  • New configuration option proxy_client.*.http.request_factory and stream_factory to support custom PSR-17 HTTP request and stream factories for proxy clients.
2.18.0
  • New configuration option proxy_client.*.http.request_factory to support custom HTTP request factories for proxy clients.
3.1.2
  • Fixed match_response configuration to work with Symfony 6+. #644
  • Fixed overwriting expression_language for the response matcher, due to a name mismatch the configuration was ignored. #644
3.1.1
  • Fixed regression with the extension class when ttl_header is not set.
3.1.0
  • New Feature: allow configuring the TTL header name for the special reverse_proxy_ttl config value. #638
3.0.2
  • Fixed extension to depend on the DependencyInjection component rather than the HttpKernel.
3.0.1
  • Fixed regression in AttributesListener: Ignore other attributes on controller methods.
3.0.0
  • Minimum PHP version is now 8.1
  • Support Symfony 6.4 and 7
  • Drop obsolete annotations support, use attributes Remove all configuration you have at fos_http_cache.tags.annotations
  • Make fastly and cloudflare clients lazy loaded to support Symfony secrets that are only available at runtime, but not yet when the container is built.
  • Removed deprecated FOS\HttpCacheBundle\UserContext\AnonymousRequestMatcher, use the class from the FOSHttpCache component instead: FOS\HttpCache\UserContext\AnonymousRequestMatcher.
  • Removed obsolete ContextInvalidationLogoutHandler, use ContextInvalidationSessionLogoutHandler instead.
  • Fixed service loading to not fail when Twig is not available.
2.17.0
  • Support to configure the fastly CDN client.
2.16.2
  • Catch SessionNotFoundException in FlashMessageListener, as Symfony 6 moved from returning null to throwing an exception.
  • Add : void to commands to avoid warning from Symfony 6.3, prepare for Symfony 7 support.
2.16.1
  • Add : void return to compiler passes to avoid warning from Symfony 6.3, and prepare for Symfony 7 support.
2.16.0
  • Added support for AWS cloudfront, using the jean-beru/fos-http-cache-cloudfront package.
2.15.0
  • Added Cloudflare proxy client.
2.14.0
  • Fix handling of custom glue for response tags. If you use custom glue with the Symfony HttpCache, you can now configure a customized tag header parser on the PurgeTagsListener.
2.13.0
  • Fix Symfony 6 deprecations on the command name configuration.
2.12.1
  • Fix some PHP 8.1 deprecation warnings.
2.12.0
  • Support Symfony 6
  • Drop support for Symfony 3 and 4.3 (keep using 2.11.* for legacy projects).
2.11.2

Fixed

  • Fixed servers_from_jsonenv to actually work with an array.
2.11.1

Fixed

  • Fixed readthedocs.io configuration. This needs a release to show up as the latest doc (which had no longer been updated in quite a while because of build errors)
2.11.0

Added

  • New configuration option servers_from_jsonenv to support a variable amount of proxy servers defined via an environment variable.
2.10.3

Fixed

  • Do not error in InvalidationListener nor TagListener when symfony/expression-language is missing but no expression is used.
  • Properly report missing symfony/expression-language when an expression is used in response configuration.
2.10.2

Fixed

  • The fix about overwriting flash messages on multiple redirects introduced in version 2.9.1 created the risk of losing flash messages when redirecting to a path that is outside the firewall or destroys the session. This version hopefully fixes both cases. Existing flash messages in a request cookie are merged with new flash messages from the session.
2.9.2

Fixed

  • The fix about overwriting flash messages on multiple redirects introduced in version 2.9.1 created the risk of losing flash messages when redirecting to a path that is outside the firewall or destroys the session. This version hopefully fixes both cases. Existing flash messages in a request cookie are merged with new flash messages from the session.
2.10.1

Fixed

  • Fix typehint in PHP 8 attributes handling to use ControllerResolverInterface
2.10.0
  • Adjusted to work with PHP 8
  • Dropped support for PHP 7.2
  • Added support for PHP 8 Attributes
2.9.1

Fixed

  • Flash messages won't be lost even when redirecting multiple times.
2.9.0

Added

  • New Feature: Command fos:httpcache:clear to clear the whole http cache.
2.8.0
  • Adjusted to work with Twig 3
  • Adjusted to work with Symfony 5
  • Allow Httplug 2
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
escalated-dev/escalated-laravel
escalated-dev/locale
vusys/laravel-runabout
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
directorytree/opensearch-client
directorytree/opensearch-adapter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php