Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

API of the SFR CDN

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time


API of the SFR CDN

Usage with the binary

sfr-cdn -l login -k key ping

sfr-cdn -l login -k key purgeByRegex zone regex

sfr-cdn -l login -k key purgeByUrl url

sfr-cdn -l login -k key prefetchByUrl url

Usage with node

var CDN = require('sfr-cdn');

var cdn = new CDN(login, key);;

cdn.purgeByRegex(zone, regex, callback);

cdn.purgeByUrl(url, callback);

cdn.prefetchByUrl(url, callback);
Something went wrong with that request. Please try again.