Skip to content

boldenamsterdam/cdn-assets-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Multi cdn for assets for Craft CMS

Installation

  1. Go to the settings of the plugin and set the url(s) for the cdn path in the field "Environment Variable cdnUrl". Use comma separated uri's' for multiple cdn's.

plugin_settings

  1. Make sure that the assets path is relative. The cdn path will be prepended at the front of the assets path.

assets_settings

  1. Use in templates the twig filter "cdnUrl" for the media/assets url to get the cdn path(s).

twig_filter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages