symbiote / silverstripe-cdncontent
A module that uses the content-services module for mapping Files and/or theme content from the CMS to compatible CDNs.
Installs: 3 247
Dependents: 2
Suggesters: 0
Security: 0
Stars: 8
Watchers: 8
Forks: 10
Open Issues: 2
Type:silverstripe-module
Requires
Replaces
- silverstripe/cdncontent: 3.2.3
- dev-master / 3.2.x-dev
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.8.x-dev
- 2.7.x-dev
- 2.7.5
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.x-dev
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.2.0
- 1.1.x-dev
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.x-dev
- dev-feature-php-7-4
This package is auto-updated.
Last update: 2024-12-22 14:51:06 UTC
README
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
- Content Services module https://github.com/nyeholt/silverstripe-content-services/
- Patches to the framework folder - see the framework.patch file
Installation
- Add the following extensions
File: extensions: - CDNFile Folder: extensions: - CDNFolder # If using the Versioned Files module FileVersion: extensions: - CDNFile
- Configure the locations for storing content items
ContentService:
constructor:
defaultStore: S3DevBucket
properties:
stores:
FileCDN:
ContentReader: FileContentReader
ContentWriter: FileContentWriter
Note: In this case, ContentReader and ContentWriter should be the names of other
items configured in the injector - the default contentservices.yml
defines the above ones as
---
Name: contentservices
---
Injector:
FileContentReader:
type: prototype
properties:
basePath: mycontent
FileContentWriter:
type: prototype
properties:
basePath: mycontent