百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

FOSHttpCache

> DevOps
开源

将您的 PHP 应用程序与 HTTP 缓存代理集成

359 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

将您的 PHP 应用程序与 HTTP 缓存代理集成

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPcachinghttpnginxphp

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

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