Skip to content
Content is incomplete and some pages may be missing or low quality. Check back soon for updates.

What is it for?

We provide helper libraries in several popular languages to make it easier to integrate ghettocdn into your workflow and to simplify access to cache-busted filenames. Each library exposes an API that allows you to pass a canonical stub for an image asset and, in some cases, specify a return format. It then returns a fully formed URL pointing to the current versioned path of that asset on your CDN.

This works by reading the manifest.json file generated in the .ghettocdn directory at the end of each ghettocdn build pipeline. This file contains mappings from canonical stubs to their corresponding versioned paths.

To learn more about how cache busting works and why it is used, see our explanation here.