Skip to content

souldigital/silverstripe-cdncontent

 
 

Repository files navigation

CDN Theme module

A module that allows the assets for a theme to be stored on a CDN

Overview

Provides a few CDN related pieces of functionality

  • Store assets from Files & Images in a specified CDN
  • Store theme related assets in a configured CDN

Requirements

Installation

  • In your local configuration, add

ShortcodeParser::get('default')->register('embed', array('CdnEmbedder', 'handle\_shortcode'));

to ensure the cdn is manipulated for resized images because SS treats CDN sourced content as an embed tag. This may be addressed in a future commit

  • Add the following extensions
File:
  extensions:
    - CDNFile
Folder: 
  extensions:
    - CDNFolder

About

A module for storing assets and themes in a CDN

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.8%
  • Other 1.2%