To add your library, see SmallCDN/libraries
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.