2017 © Pedro PelĂĄez
 

silverstripe-module cdnrewrite

Rewrites all links for assets to use a cdn instead

image

wernerkrauss/cdnrewrite

Rewrites all links for assets to use a cdn instead

  • Wednesday, March 23, 2016
  • by wernerkrauss
  • Repository
  • 2 Watchers
  • 4 Stars
  • 1,597 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

silverstripe-cdnrewrite

Scrutinizer Code Quality, (*1)

Rewrites all links for assets to use a cdn instead. It's not responsible to upload or sync the files anywhere. Some CDNs can do this for you., (*2)

Requirements

Installation

Download and install manually or use composer., (*3)

Configuration

You have to enable this filter manually using CDNRewriteRequestFilter.cdn_rewrite config var. Also define CDNRewriteRequestFilter.cdn_domain with protocol and host., (*4)

Your config.yml might look like:, (*5)

CDNRewriteRequestFilter:
  cdn_rewrite: true #global switch
  cdn_domain: 'http://cdn.mydomain.com'
  rewrite_assets: true  #rewrite stuff in assets
  rewrite_themes: false #do not rewrite stuff in themes folder

The Versions

23/03 2016

dev-master

9999999-dev

Rewrites all links for assets to use a cdn instead

  Sources   Download

MIT

The Requires

 

extension silverstripe

18/08 2015

0.0.3

0.0.3.0

Rewrites all links for assets to use a cdn instead

  Sources   Download

MIT

The Requires

 

extension silverstripe

11/03 2015

0.0.2

0.0.2.0

Rewrites all links for assets to use a cdn instead

  Sources   Download

MIT

The Requires

 

extension silverstripe

11/03 2015

0.0.1

0.0.1.0

Rewrites all links for assets to use a cdn instead

  Sources   Download

MIT

The Requires

 

extension silverstripe