EzCDNBundle

UNIX name Owner Status
EzCDNBundle 7x stable
Version Compatible with
N/A N/A
Interested in this extension? Sponsor it!

SmileEzCDNBundle

This bundle aims to replace or add CDN domain to specific resource provided by web page

Installation

Get the bundle using composer

Add SmileEzCDNBundle by running this command from the terminal at the root of
your eZPlatform project:

composer require smile/ez-cdn-bundle

Enable the bundle

To start using the bundle, register the bundle in your application's kernel class:

// ezpublish/EzPublishKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Smile\EzCDNBundle\SmileEzCDNBundle(),
// ...
);
}

Care about Apache configuration when fonts (eot, woff ...) served by css, or ajax/cookie manipulation with javascript.
Refer to : http://www.w3.org/TR/cors/

Configure bundle

# ezpublish/config/config.yml
smile_ez_cdn:
system:
acme_group: #for each siteaccess
domain: domain.tld #required, delare your CDN domain
extensions: [png, css] # list of resource extension that would be serve by your CDN

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.