CachePurge is a centralized service that allows the user to invalidate and purge cache from multiple CDNs easily.
Перейти к файлу
vapisar 60b309aa1c
Merge pull request #6 from microsoft/users/vapisar/swashbuckle_update
Swagger package update
2022-07-27 16:43:47 -07:00
CachePurgeLibrary Updating libraries to next versions 2022-07-08 16:23:38 -07:00
CdnLibrary Currently, if the entity is not setup in Akamai, we show an Unknown status. DRIs don't know what to do in this case, adding a little bit more clarifying info to the message. 2022-06-11 00:01:32 -07:00
CdnPlugins Updating libraries to next versions 2022-07-08 16:23:38 -07:00
MultiCdnApi Updating Swagger package to a more modern (the latest) version to make sure that we don't miss any improvements related to accessibility 2022-07-27 16:29:51 -07:00
.gitignore initial commit 2020-12-18 15:24:10 -08:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-12-18 14:25:28 -08:00
CONTRIBUTING.md initial commit 2020-12-18 15:24:10 -08:00
InitialDesign.png initial commit 2020-12-18 15:24:10 -08:00
LICENSE Initial LICENSE commit 2020-12-18 14:25:27 -08:00
README.md Update README.md 2020-12-18 16:01:44 -08:00
SECURITY.md remove tag 2021-01-04 11:46:34 -08:00
SUPPORT.md update doc 2021-01-05 10:12:59 -08:00

README.md

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.