CDN specifications

This section is dedicated to CDN related topics. We have built our own Content Delivery Network, specifically for WordPress sites. Take a quick look to the way our CDN works!

We have built our own CDN ( Content Delivery Network ) specifically for WordPress. Our CDN is part of an unified server network that includes the frontend (HTML files, aka “documents”) and the CDN (static resources such as images, CSS and JS).

Which files are being delivered from the CDN?

This is the list of files that are currently being delivered by our CDN:

  • image files fir the following extensions: jpg, jpeg, png, gif, svg, tif, tiff, bmp, webp.
  • media files (audio/video): mp3, avi, mp4, mpeg.
  • fonts: woff, woff2, ttf, eot, otf.
  • CSS files: css.
  • JavaScript (JS) files: js.
  • other file extensions: swf, pdf tar, gz, bz2, exe, sh, zip, rar, arj, bin, dmg, dll, pkg, apk, bin, rpm, deb, msi.
  • all files from the /wp-content/uploads/ folder.

When does the CDN cache expire?

Presslabs CDN cache never expires automatically because the static files don’t get changed that often. In case you need to refresh a file from our CDN you can:

  • refresh it using the Resource URL from the Cache section of the Managed Hosting Dashboard.
  • add a parameter to the request URL, e.g. ?ver= or ?v=. For CSS and JS files you can do this automatically by using our WordPress plugin called AutoVer
  • flush the entire CDN cache in case you need to refresh multiple files, from the Cache section of the Managed Hosting Dashboard.

Why are my changes not visible on the site?

You might face the situation when you update a CSS or JS file and you can’t see the changes done on your site. This is because of the previous point - our CDN cache never expires. In order to solve this, you need to apply one of the three alternatives mentioned above.

Where are the CDN nodes located?

Our network of CDN nodes is located in the following Datacenters:

  • Singapore, SG - provided by Leaseweb
  • Hong Kong, HK - provided by Leaseweb
  • Falkenstein, DE - provided by Hetzner
  • London, UK - provided by Leaseweb
  • Manassas, US - provided by Leaseweb
  • San Jose, US - provided by Leaseweb