Skip to content

SmallCDN/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmallCDN

Build Status

Adding your library

To add your library, see SmallCDN/libraries

How it all works

Requests are handled by nginx, which parses the request url, and then passes it to the node backend as headers, which can then serve cached files directly from memory, or fall back to reading from disk if needed. The eventual plan is to move caching to nginx. Additionally, CloudFlare provides moderate caching, which we clear out every hour when we reload the libraries from our Library Repository.

The API is always uncached, except for /libraries, which is cached and cleared with the above library reloading.

Releases

No releases published

Packages

No packages published