Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

FOSHttpCache

> DevOps
Open source

Integrate your PHP application with your HTTP caching proxy

359 stars0 likes0 views
WebsiteGitHub

About

Integrate your PHP application with your HTTP caching proxy

FOSHttpCache

Introduction

This library integrates your PHP applications with HTTP caching proxies such as Varnish. Use this library to send invalidation requests from your application to the caching proxy and to test your caching and invalidation code against a Varnish setup.

It does this by abstracting some caching concepts and attempting to make sure these can be supported across Varnish, Nginx and Symfony HttpCache.

If you use Symfony, have a look at the FOSHttpCacheBundle. The bundle provides the invalidator as a service, along with a number of Symfony-specific features to help with caching and caching proxies.

Features

  • Send cache invalidation requests with minimal impact on performance.
  • Cache tagging abstraction for caching proxy systems that support it.
  • Use the built-in support for Varnish, NGINX, the Symfony reverse proxy from the http-kernel component, the CDNs fastly and cloudflare, or implement your own caching proxy client.
  • Test your application against your Varnish or NGINX setup with the help of a PHPUnit functional test case.

Documentation

For more information, see the documentation.

License

This library is released under the MIT license. See the included LICENSE file for more information.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPcachinghttpnginxphp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理