Our CDN is now officially live!

Written by Halvar on 18 June 2024

The *.cdn.halvar.cloud is now present at your disposal. It has auto png to webp conversion and minify for CSS and JS files.

How to enable our CDN in WordPress

You need to rewrite your hostname to the servername, followed by your hostname where all dots ( . ) are now minus signs ( – ).

An example if you are on vm194 and your site is https://darice.org. You want to CDN the following image: https://darice.org/wp-content/uploads/2024/04/IMG_5685.jpg

The CDN url is in this case:
https://vm194-darice-org.cdn.halvar.cloud/wp-content/uploads/2024/04/IMG_5685.jpg
You can use a plugin like CDN enabler, just enter the full CDN name like to and hit save:

The CDN is set to respect your cache headers, without API. If you need more fine-tuning, consider using Cloudflare, or even better, Nitropack to also combine and minify CSS and JS.

How to enable the CDN for Drupal

Step 1. Get the CDN module ( https://www.drupal.org/project/CDN )

Step 2. Go to Administration -> Configuration -> Web services

Step 3. If your site is https://darice.org on vm194 then you should enter vm194-darice-org.cdn.halvar.cloud in the CDN hostname field using simple mapping.

Step 4. Save you configuration and you are done

How to enable the CDN for WordPress

Step 1. Get CDN Enabler and enable the plugin after installing

Step 2. Visit the plugin settings

If your site is https://darice.org on vm194 then you should enter vm194-darice-org.cdn.halvar.cloud in the CDN hostname field

Step 3. Save settings and you are done

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Lorem ipsum dolor sit 10

Lorem ipsum dolor sit 10

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras finibus, urna et volutpat tempus, est…

December 22, 2024
Read More
Lorem ipsum dolor sit 09

Lorem ipsum dolor sit 09

Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras finibus,…

December 22, 2024
Read More
Lorem ipsum dolor sit 08

Lorem ipsum dolor sit 08

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras finibus, urna et volutpat tempus, est…

December 22, 2024
Read More
Mastodon Mastodon