nystudio107/fastcgicachebust
Composer 安装命令:
composer require nystudio107/fastcgicachebust
包简介
Bust the Nginx FastCGI Cache when entries are saved or created.
README 文档
README
DEPRECATED
This Craft CMS 2.x plugin is no longer supported, but it is fully functional, and you may continue to use it as you see fit. The license also allows you to fork it and make changes as needed for legacy support reasons.
The Craft CMS 3.x version of this plugin can be found here: craft-fastcgicachebust and can also be installed via the Craft Plugin Store in the Craft CP.
FastCGI Cache Bust plugin for Craft CMS
Bust the Nginx FastCGI Cache when entries are saved or created.
Related: FastCGI Cache Bust for Craft 3.x
Installation
To install FastCGI Cache Bust, follow these steps:
- Download & unzip the file and place the
fastcgicachebustdirectory into yourcraft/pluginsdirectory - -OR- do a
git clone https://github.com/nystudio107/fastcgicachebust.gitdirectly into yourcraft/pluginsfolder. You can then update it withgit pull - -OR- install with Composer via
composer require nystudio107/fastcgicachebust - Install plugin in the Craft Control Panel under Settings > Plugins
- The plugin folder should be named
fastcgicachebustfor Craft to see it. GitHub recently started appending-master(the branch name) to the name of the folder for zip file downloads.
FastCGI Cache Bust works on Craft 2.5.x and Craft 2.6.x.
FastCGI Cache Bust Overview
FastCGI Cache Bust is a simple plugin that clears your entire FastCGI Cache any time an entry is saved. This is somewhat of a scortched earth approach to cache invalidation, but it ensure cache coherency.
Check out the article Static Page Caching with Craft CMS for details on how to set up FastCGI Cache on your website.
Configuring FastCGI Cache Bust
Click on the gear icon next to the plugin to configure it by adding the full absolute path to your Nginx FastCGI Cache directory. If you require more than one FastCGI Cache directory cleared, separate the paths with a comma (,).
Using FastCGI Cache Bust
FastCGI Cache Bust listens for elements being saved, and busts the entire FastCGI Cache automatically when that happens.
You can also manually clear the FastCGI Cache via Craft's 'Clear Caches' tool
FastCGI Cache Bust Roadmap
Some things to do, and ideas for potential features:
- We could invalidate only affected caches onElementSave instead of the entire cache
Brought to you by nystudio107
nystudio107/fastcgicachebust 适用场景与选型建议
nystudio107/fastcgicachebust 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 321 次下载、GitHub Stars 达 22, 最近一次更新时间为 2017 年 06 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 nystudio107/fastcgicachebust 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nystudio107/fastcgicachebust 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 321
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-06-16