kitpages/cache-control-bundle
Composer 安装命令:
composer require kitpages/cache-control-bundle
包简介
Remove browser cache on every pages of a symfony2 website.
README 文档
README
This is a very simple bundle that remove browser cache for a symfony2 website.
author : Philippe Le Van (@plv)
Current state of the project
Stable. It only add 3 headers on every responses :
Cache-Control: must-revalidate, no-cache, no-store, post-check=0, pre-check=0, private
Pragma: no-cache
Expires: 2 years before current date
Installation
hum... as usual...
put the code in vendors/Kitpages/CacheControlBundle
add vendors/ in the app/autoload.php
add the new Bundle in app/appKernel.php
Users Guide
Nothing to do, juste include the bundle in appKernel.
统计信息
- 总下载量: 1.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2012-10-08