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.
Please note that at the time it is not possible to use another provider than the one used by Artifakt.
- 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
The maximum file upload size and cached file size is 512MB. Artifakt only caches according to the file extension (and not according to the MIME type).
HTTPS requests sent to your application should run in less than 600 seconds or 10 minutes (hard limit, cannot be changed). If not, Artifakt will display an error page indicating that your website is not reachable at the moment.
Artifakts CDN only caches the following file extensions by default:
Artifakts CDN doesn't cache HTML by default. If you need to cache HTML, please contact our Support team.
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