Auto Caching Excludes

Free!
Download
Auto Caching Excludes
Description

This addon listens for page edits and updates caching excludes when there are forms on the page. This plugin assumes you have a main content field (A replicator or a Bard) on your pages. In this main content field you have added the ability to add a form. When this form module is detected the page (and all localized versions) will be added to static_caching_exclude.

Download the plugin and add it to your addons folder.

Make sure you configure the plugins settings.

I'm my no means a skilled programmer at the time of writing. Feel free to treat this code as your own.

Brought to you by Studio 1902

Thanks to Mykolas & Bas de Kort for their help in learning backend programming.


Important Links
Details
Released October 14, 2019
Updated 7 months ago
Version v1.0.4
Downloads 140
Requires Statamic 2

Studio 1902

Designs and creates bespoke websites with Statamic.

More by Studio 1902

Similar Addons

See All
A Oh Dear integration for Statamic v3. Check your monitored uptime, SSL certificates, mixed content and broken links easily from your Statamic control panel.

Statamic Oh Dear

by Jonas Siewertsen in Control Panel, Utility, Tool
A Oh Dear integration for Statamic v3. Check your monitored uptime, SSL certificates, mixed content and broken links easily from your Statamic control panel.
Manage third party scripts and pixels (tags); like Google Tag Manager but not.

Third Party

by Cody Spring in API, Tag, Utility
Manage third party scripts and pixels (tags); like Google Tag Manager but not.
Allows you to manipulate inline SVGs, including injecting classes, width and height properties, and a11y configuration.

SVG

by Ben Furfie in Tag, Tool, Utility, Media
Allows you to manipulate inline SVGs, including injecting classes, width and height properties, and a11y configuration.