Skip to content

dotcms-plugins/plugin-actionlet-varnish-purge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purging Varnish Cache Plugin - README


This bundle plugin will provide a workflow actionlet called "Purge Varnish Cache" that can be added to any workflow process. It is a proof of concept (can be improved or customized) that allows you to create content workflows in dotCMS that will send an HTTP PURGE request to an external Varnish cache. You configure your varnish endpoint using the plugin.properties file here: /src/main/resources/plugin.properties

How to build this plugin

To install all you need to do is build the JAR. to do this run ./gradlew jar This will build a jar in the build/libs directory

  1. To install this bundle:

Copy the bundle jar file inside the Felix OSGI container (dotCMS/felix/load). OR Upload the bundle jar file using the dotCMS UI (CMS Admin->Dynamic Plugins->Upload Plugin).

  1. To uninstall this bundle:

Remove the bundle jar file from the Felix OSGI container (dotCMS/felix/load). OR Undeploy the bundle using the dotCMS UI (CMS Admin->Dynamic Plugins->Undeploy).

About

This plugin provides a workflow actionlet that invalidates an external Varnish cache - can be used for files, images, pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%