Documentation and usage details may be available on
homepage or project page.
This project is licensed under
To manually use CDN Links from this project, just goto the
CDN Files page and click the
icon to copy code for using on your website. For most important files, it will copy script and style tags that
already include SRI hash so that you can securely embed code in your HTML documents. Wordpress plugin
This project on PageCDN is also available on our
free CDN plugin.
Once you install the plugin, it automatically detects files available on PageCDN and links to them. There is
no manual configuration required. API Integration
This project is available on our Public CDN API. Further integration details are available in
You can also lookup files of this repo using sha-256 hash. For example, you can use
endpoint that returns a JSON response containing URL of the public file you searched for. This endpoint
searches for matching files on the entire public CDN, including WordPress themes and Plugins, and public libraries
but excluding 'Easy Fonts'.
For best performance, this response is cached at our edge servers. However, you are recommended to create a local
copy of this response to avoid latency.
Automatic Latest Versions
PageCDN now supports dynamic URLs that automatically update the content to latest versions once new releases of
the library are available. Using dynamic URLs updating to latest versions of the library easy, but can cause some
Library may choose to break backward compatibility in newer versions;
SRI hashes do not work with dynamic URLs. If you already use a script tag with SRI hash in it, you will have to
mnually remove the SRI hash for the dynamic URL to work. This makes it less secure.
URLs with 'latest' version are cached for one month and redirect to the actual latest version of the library file at that time. This is less performant as this involves a redirect.
To make URLs to auto-update to latest version, get the URL of the resource, like:
and, change it to use the keyword 'latest' instead of a version.
This feature is currently in pipeline, and is expected to be released soon.
On-the-fly image optimization
On-the-fly image optimization is now enabled on all repos on PageCDN by default. With this feature, you can
optimize and resize images by just tweaking the URLs. Only PNG and JPG file types are supported. Here is how it
Original Image: marco.png
Optimize: marco ._o.png
Optimize and resize: marco ._o_300w.png (resize and maintain aspect ratio)
Optimize and resize: marco ._o_300w_100h.png (resize and crop if required)
Optimize, resize and convert: marco ._o_300w_100h_webp.png (resize, optimize and convert to webp)
On-the-fly minification is now enabled on all repos on PageCDN by default. With this feature, you can
minify any CSS or JS file on the fly by just tweaking the URLs even when the minified file is not already available
on the CDN. Here is how it works:
Original Script: custom.js
Minified Script: custom .min.js (auto-generated if your site requests for it, not otherwise)