Giter Club home page Giter Club logo

dlcs-varnish's Introduction

dlcs

github.io root

dlcs-varnish's People

Contributors

donaldgray avatar fractos avatar jacklewis-digirati avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dlcs-varnish's Issues

Clear varnish cache for an asset

a dependency for dlcs/protagonist#251

Acceptance criteria

  • A side-process that listens to the same Asset Deletion notification as dlcs/protagonist#251
  • When it receives an asset deletion message, uses varnishadm BAN command to clear matching stored entries. e.g., ban req.url ~ /iiif-img/wellcome/5/b33062055
  • iiif-img, iiif-manifest, thumbs, file, iiif-av are "wildcard" paths to clear matching asset IDs under (single assets)

allow dlcs-varnish to run when the INCOMING_QUEUE is not set

Based on this comment:

One thought - it might be good to allow this to work if INCOMING_QUEUE is missing. E.g. if we scale out for 4hours to cope with a known load we might want additional varnish instances running without worrying about bans.

Currently, the varnish cleanup handler requires an INCOMING_QUEUE to be set, meaning that the application will fail to run if the cleanup handler isn't correctly set up. This could be an issue if we want to run the varnish cache separately from the cleaner. This ticket is to make it so that these applications can be run separately

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.