Different CDN URLs for different file types
-
Hi,
Is there a php filter I could use to enable different CDN URLs for different file types?
I cannot find any plugin that could do out of the box so far. The reason I’m asking is Statically.io. Great CDN network which uses multiple CDN url for different files types.
Unfortunately their native WP plugin has limited functionality when it comes to combined CSS and JS by other plugins. This is the reason I’m looking for an alternative.
Here is an example of the paths it has:
1. https://cdn.statically.io/img/www.example.com/f=auto/ (for images, has automatic webp conversion)
2. https://cdn.statically.io/img/www.example.com/ (for svg, because they cannot be converted to webp)
3. https://cdn.statically.io/css/www.example.com/ (CSS & Fonts)
4. https://cdn.statically.io/js/www.example.com/ (JS)Thanks,
Roman.
- The topic ‘Different CDN URLs for different file types’ is closed to new replies.