Content Delivery Network (CDN)
Using a CDN allows your pages to load faster and helps provide a pleasant browsing experience for your visitors.
Artifakt offers a CDN for all environments. The content of your websites can be distributed in more than 200 cities in 95 countries, as close as possible to your visitors.
- Smart CDN cache (TTL)
- Geolocation (visitors' country code can be captured by your application)
- Image optimization (Webp)
- Mobile loading optimization (for Cellular Networks)
- Fast network with compression & custom-tuned TCP optimization
- A static version of your pages is cached in case your servers go offline
Artifakts CDN only caches the following file extensions by default:
Artifakt caches static resources according to where your visitors come from and how often they access these resources.
A new copy of the resource will be cached and distributed each time the query parameters differ. For example
example.com/mycar.jpg?param=query¶m2=querywill fetch the resource from your server but cache it under 2 different keys.
Please also note that the query parameters are not sorted before retrieving a cached resource. If a user runs the query
example.com/mycar.jpg?title=test&portrait=0&color=0000and then another user runs the query
example.com/mycar.jpg?color=0000&portrait=0&title=test, then we will fetch the resource again even though we actually have the cached resource.
You can customize the behavior of the cache using the
Cache-ControlHTTP header, and more precisely the
max-agedirective (in seconds). This directive indicates that the HTTP response should be considered expired when it is older than the specified number of seconds.
If you are working on a development environment or have a particular need for your production environment, go to Environment → Settings → Domains to empty the CDN cache of all or part of your domains.
Purging the CDN cache