All Projects → nystudio107 → fastcgicachebust

nystudio107 / fastcgicachebust

Licence: MIT license
DEPRECATED Bust the Nginx FastCGI Cache when entries are saved or created.

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to fastcgicachebust

craft-youtubeliveembed
This plugin allows you to embed a YouTube live stream and/or live chat on your webpage
Stars: ✭ 14 (-30%)
Mutual labels:  craftcms, craft-plugin
craft-entry-instructions
A simple fieldtype to add instructions.
Stars: ✭ 16 (-20%)
Mutual labels:  craftcms, craft-plugin
craft-assetmetadata
Asset Metadata plugin for Craft CMS
Stars: ✭ 31 (+55%)
Mutual labels:  craftcms, craft-plugin
overflow.craft-plugin
A plain text Craft field type, with a soft or hard character limit.
Stars: ✭ 13 (-35%)
Mutual labels:  craftcms, craft-plugin
anchors
Add anchor links to headings in your Craft CMS website content.
Stars: ✭ 47 (+135%)
Mutual labels:  craftcms, craft-plugin
SecureAssetDownload
Craft CMS plugin for secure asset download URLs
Stars: ✭ 22 (+10%)
Mutual labels:  craftcms, craft-plugin
craft-grid
A field that lets you content manage CSS Grid in Craft CMS.
Stars: ✭ 18 (-10%)
Mutual labels:  craftcms, craft-plugin
tablemaker
A user-definable table field type for Craft CMS
Stars: ✭ 39 (+95%)
Mutual labels:  craftcms, craft-plugin
contact-form-honeypot
Add a honeypot captcha to your Craft CMS contact form.
Stars: ✭ 24 (+20%)
Mutual labels:  craftcms, craft-plugin
oembed
A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.
Stars: ✭ 34 (+70%)
Mutual labels:  craftcms, craft-plugin
PowerNap
Sample Task plugin
Stars: ✭ 15 (-25%)
Mutual labels:  craftcms, craft-plugin
craft-recaptcha
Integrate Google’s reCAPTCHA into your web forms.
Stars: ✭ 16 (-20%)
Mutual labels:  craftcms, craft-plugin
craft-typogrify
Typogrify prettifies your web typography by preventing ugly quotes and 'widows' and more
Stars: ✭ 70 (+250%)
Mutual labels:  craftcms, craft-plugin
craft-json-snippets
Helps make CraftCMS models in .json
Stars: ✭ 17 (-15%)
Mutual labels:  craftcms, craft-plugin
Craft-Twig-ImageBase64
A simple Twig extension for Craft CMS to create base64-encoded images from Assets in your Twig templates.
Stars: ✭ 14 (-30%)
Mutual labels:  craftcms, craft-plugin
DigitalProducts
Sell digital products with Craft Commerce
Stars: ✭ 48 (+140%)
Mutual labels:  craftcms, craft-plugin
store-hours
Manage business hours with Craft CMS.
Stars: ✭ 60 (+200%)
Mutual labels:  craftcms, craft-plugin
Craft-3-Froala-WYSIWYG
Craft 3 CMS plugin for Froala WYSIWYG HTML Rich Text Editor.
Stars: ✭ 17 (-15%)
Mutual labels:  craftcms, craft-plugin
like
Let your users like your Craft website's entries, assets and any other element.
Stars: ✭ 44 (+120%)
Mutual labels:  craftcms, craft-plugin
snipcart-craft-plugin
Craft e-commerce in a day.
Stars: ✭ 20 (+0%)
Mutual labels:  craftcms, craft-plugin

No Maintenance Intended

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:

  1. Download & unzip the file and place the fastcgicachebust directory into your craft/plugins directory
  2. -OR- do a git clone https://github.com/nystudio107/fastcgicachebust.git directly into your craft/plugins folder. You can then update it with git pull
  3. -OR- install with Composer via composer require nystudio107/fastcgicachebust
  4. Install plugin in the Craft Control Panel under Settings > Plugins
  5. The plugin folder should be named fastcgicachebust for 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].