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

Calculations from kwH usage to CO2

Based on our biggest location, 3500 kwH (green energy) each month times 12 = 42.000…

December 9, 2024
Read More
200% green hosting

200% green hosting

We are serious about this planet and how we affect the environment. That’s why we…

September 5, 2023
Read More
How to do green yourself

How to do green yourself

Planting your garden full of flowery plants, or installing solar panels is always good, but…

September 5, 2023
Read More
Mastodon Mastodon