Open nfriedli opened 9 years ago
I like that idea. Patches welcome
FYI, there was a similar feature request in the old bugtracker: https://bugs.dokuwiki.org/index.php?do=details&task_id=2592
Here is a proof of concept ;) https://github.com/nfriedli/dokuwiki/commit/c679aac9a5441ab30b500d7d29f0331ffed95d05
Just have a look here: http://frdl.ch/web/dokuwiki/cdn (in french).
It's 2018 and no cdn support yet
With Amazon CloudFront (and probably with another...), it's really easy to serve static files via a CDN. For example:
To use a CDN, I only need to display a new adress prefix for media files when rendrering the public page: http://d3luaahep0xjls.cloudfront.net/_media/ instead of http://domain.tld/_media/
I would be nice to have a CDN prefix configuration option in DokuWiki, which just add a prefix or replace the canonical domain name.