2017 © Pedro Peláez
 

craft-plugin fastcgicachebust

Bust the Nginx FastCGI Cache when entries are saved or created.

image

nystudio107/fastcgicachebust

Bust the Nginx FastCGI Cache when entries are saved or created.

  • Tuesday, December 12, 2017
  • by khalwat
  • Repository
  • 1 Watchers
  • 18 Stars
  • 96 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 7 Versions
  • 1820 % Grown

The README.md

No Maintenance Intended, (*1)

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., (*2)

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., (*3)

FastCGI Cache Bust plugin for Craft CMS

Bust the Nginx FastCGI Cache when entries are saved or created., (*4)

Related: FastCGI Cache Bust for Craft 3.x, (*5)

Installation

To install FastCGI Cache Bust, follow these steps:, (*6)

  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., (*7)

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., (*8)

Check out the article Static Page Caching with Craft CMS for details on how to set up FastCGI Cache on your website., (*9)

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 (,)., (*10)

Using FastCGI Cache Bust

FastCGI Cache Bust listens for elements being saved, and busts the entire FastCGI Cache automatically when that happens., (*11)

You can also manually clear the FastCGI Cache via Craft's 'Clear Caches' tool, (*12)

FastCGI Cache Bust Roadmap

Some things to do, and ideas for potential features:, (*13)

  • We could invalidate only affected caches onElementSave instead of the entire cache

Brought to you by nystudio107, (*14)

The Versions

12/12 2017

dev-master

9999999-dev

Bust the Nginx FastCGI Cache when entries are saved or created.

  Sources   Download

The Requires

 

12/12 2017

dev-develop

dev-develop

Bust the Nginx FastCGI Cache when entries are saved or created.

  Sources   Download

The Requires

 

12/12 2017

1.0.4

1.0.4.0

Bust the Nginx FastCGI Cache when entries are saved or created.

  Sources   Download

The Requires

 

27/11 2017

1.0.3

1.0.3.0

Bust the Nginx FastCGI Cache when entries are saved or created.

  Sources   Download

The Requires

 

12/08 2017

1.0.2

1.0.2.0

Bust the Nginx FastCGI Cache when entries are saved or created.

  Sources   Download

The Requires

 

18/06 2017

1.0.1

1.0.1.0

Bust the Nginx FastCGI Cache when entries are saved or created.

  Sources   Download

The Requires

 

16/06 2017

1.0.0

1.0.0.0

Bust the Nginx FastCGI Cache when entries are saved or created.

  Sources   Download

The Requires