A CDN for your website, with a cache you control.
Hazeloft CDN keeps your site's responses in cache at the edge, on a domain connected to the platform. You decide how long they stay there, purge the cache when you publish something new, and see in the logs what was served.
- HIT
- response served from cache, at the edge
- MISS
- request that goes all the way to your server
Illustration. The points on the globe are not real locations.
Try it: the first request is a MISS, the next ones are HITs.
Request the same file a few times, then purge the cache. The counters and the log columns use the names from the platform.
GET /logo.pngThe first request for a file goes all the way to your server (MISS) and leaves a copy at the edge. The next ones stop at the edge (HIT), until you purge the cache.
- Requests
- 0
- Origin Pulls
- 0
- Hit Rate
- —
- 01GET /logo.png200MISS
- 02GET /logo.png200HIT
In-page demo: it makes no network request. The counters only count your own presses; their names are the ones used in the platform.
How to turn on a CDN for your website, in three steps.
You need the Pro plan. The rest happens in the platform, in the order below: each step relies on the one before it.
Put the domain on the Hazeloft nameservers
The domain has to be connected in Domains and delegated to the Hazeloft nameservers. If it is not, the domain's CDN page tells you to point the domain to Hazeloft and sends you there.
Requirement: a delegated domain
Have a website record at the root
In the DNS manager, the root of the domain has an A, AAAA or CNAME record pointing to the server your site runs on. The CDN sits in front of it, and that server stays the origin. Without the record, activation stops and asks you to add it.
Requirement: A, AAAA or CNAME at the root
Press “Enable CDN”
The button is on the domain's CDN page. The status moves from “Enabling…” to “Enabled”, and the domain shows up in the CDN list with its request count and cache rate.
You get: Caching, Edge Rules, Optimizer, Logs, Settings
Five switches and one value decide what stays in cache.
These are the settings in each domain's Caching section. Change them and press “Save”.
- Smart cache
- Caches responses automatically.
- Serve stale while updating
- The visitor gets the cached copy while the edge fetches a fresh one from the origin.
- Cache error responses
- Keeps origin errors briefly, so a spike of requests does not all land on a server that is already failing.
- Sort query strings
- Puts URL parameters in a consistent order, so the same page does not take up several cache entries.
- Origin Shield
- Adds an intermediate cache layer between the edge and your server.
- Override Cache-Control
- Max-age in seconds, enforced over what the origin sends.−1 respects the origin. 0 turns caching off.
One rule: a URL pattern and one of four actions.
The rule applies to requests whose URL matches the pattern. You can switch it off, back on, or delete it without touching the others.
https://example.com/blog/*Redirect
Sends the visitor to another URL.
FieldsRedirect to URL
Set response header
Puts a header, with the name and value you choose, on the response to the visitor.
FieldsHeader nameHeader value
Override cache time
Sets, in seconds, how long matching responses stay in cache.
FieldsSeconds
Block request
Refuses matching requests.
Fieldsno fields
Matching is on the URL only. You cannot add conditions on country, headers or method, and a rule has a single pattern.
Cache purge, metrics, logs and Optimizer.
Every domain with the CDN enabled has the same sections.
- Cache purge
A single URL or all content
Under “By URL” you type the full address of the file, and the platform checks that it is on your domain. “All content” purges the domain's entire cache, after a confirmation. The next requests fetch fresh copies from the origin.
- 7 days
Metrics for the last seven days
Three cards: Edge Requests, CDN Caching and Bandwidth. You see requests, the cache rate (Hit Rate), requests that reached the origin (Origin Pulls) and 5xx errors.
- Logs
Edge logs over 6 hours, 24 hours or 3 days
Requests, cache rate, traffic and errors, with an hourly series and rankings by path, status code, country and network.
- Ultra
Optimizer for images, CSS and JavaScript
WebP and AVIF conversion for browsers that support them, automatic image resizing, and CSS and JavaScript minification, at the edge. Available from the Ultra plan.
- Settings
See the zone's state and switch it off
The Settings section shows, read-only, which cache options are active and how many rules you have. Disabling CDN acceleration removes the domain's CDN zone; you can enable it again at any time.
The exact figures.
- Minimum plan
- ProThe plans below it do not include the CDN.
- Optimizer
- from the Ultra plan
- What gets accelerated
- the A, AAAA or CNAME record at the root of the domain
- Cache purge
- by URL or all content
- Edge Rules actions
- Redirect, Set response header, Override cache time, Block request
- A rule's condition
- one URL pattern
- Metrics window
- the last 7 days, daily
- Log windows
- 6 hours, 24 hours, 3 days
What it does not do.
Four things you are better off learning now.
It does not work with DNS kept elsewhere
The CDN can only be enabled on a domain that uses the Hazeloft nameservers. There is no option to keep your DNS with another provider and add a CNAME pointing to us.
The root of the domain only
The record at the root is what gets accelerated. Subdomains, www included, cannot be enabled separately, and the origin is not picked in a form: it is the server that record points to.
You do not choose locations
There is no region selector and there are no per-region statistics. This page does not publish a list of locations or a number of points of presence.
Logs go back 3 days at most
Edge logs cover the last 72 hours at most. There is no export and no forwarding to an external log service.
Included in the platform subscription.
The CDN is not sold separately: it comes with the plan. You enable it on your connected domains, one at a time. Optimizer is added from Ultra.
- Pro
- 500 RON / month
- CDN on up to 5 connected domains, without Optimizer
- Ultra
- 1000 RON / month
- CDN on up to 10 connected domains, with Optimizer
If the subscription drops below Pro, the account's CDN zones are deleted automatically.
Compare plansFrequently asked questions.
Can I use the CDN if my domain's DNS is with another provider?
No. The CDN can only be enabled on a domain connected in Domains and delegated to the Hazeloft nameservers. There is no option based on a CNAME added to your current DNS.
Are www and other subdomains accelerated too?
No. Only the A, AAAA or CNAME record at the root of the domain is accelerated. Subdomains keep being served directly, according to their own DNS records.
What gets cached, and for how long?
That depends on the Caching settings and on the Cache-Control header your server sends. With Override Cache-Control at −1 the origin's value is respected; at 0, caching is off; with any other value you set the duration in seconds yourself. For specific URLs you can set a different duration with an Override cache time rule.
Where are the CDN servers? Can I choose regions?
You cannot choose regions, and we do not publish a list of locations or a number of points of presence here. If location matters for your project, write to us before you enable it.
Does the CDN protect my site from attacks?
We do not promise that here. The CDN keeps responses in cache and can refuse requests through a Block request rule on a URL pattern. Firewall rules are configured in Hazeloft Security, a separate product.
Is there a traffic limit or a per-traffic charge?
The platform has no per-traffic charge for the CDN, and the plans do not show a cap. We do not call it “unlimited”: if you expect large volumes, write to us first.
What happens if I disable the CDN or drop below the Pro plan?
When you disable it, the domain's CDN zone is deleted, along with its Caching settings and rules. The domain stays in Domains, and the root record points straight to your server again. If the subscription drops below Pro, the same happens automatically for every domain on the account. When you enable it again, you start with a new zone.
Enable the CDN on your domain.
You need the Pro plan and a domain on the Hazeloft nameservers. If you have questions about the cache settings, write to us.