Git Product home page Git Product logo

cachepurge's Introduction

CachePurge: Cache Invalidation and Purge for multiple CDNs

CachePurge is a centralized service that allows the user to invalidate and purge cache from multiple CDNs easily.

Introduction

CacheOut is implemented in C# using the .NET core framework and uses a combination of Azure Functions, CosmosDB and Azure Queues to create a workflow that begins upon receiving a purge request from the user.

The design is as follows: Cache Purge Initial Design

Getting Started

Local Setup

Making changes

The project structure is divided into the following:

  1. CachePurgeLibrary:

    • non-CDN specific code that is utilized throughout the solution
    • no changes needed if you're not making significant structural changes to the project
  2. CdnLibrary:

    • CDN library code used in CdnPlugins and MultiCdnApi
    • will need to edit this project heavily to add your own custom CDN specific processing logic
  3. CdnPlugins:

    • contains CdnPlugin functions and EventCompletion function
    • change as needed based on CDNs used
  4. MultiCdnApi:

    • contains user facing API
    • change as needed based on CDNs and user input

To make changes to the CDNs for e.g. to add or remove a CDN, you will need to add your custom CDN logic to CdnLibrary. Propagate the changes down to CdnPlugins and MultiCdnApi.

cachepurge's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar shirleensharma avatar vapisar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.