DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Readable name of your extension

Created:2010-02-18T17:33:18
Changed by:David ZAOUI
Changed:2013-12-10T19:06:35
Classification:extensionkey
Description:The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ----
Keywords:keywords comma-separated
Author:Author Name
Email:your@email.com
Info 4:
Language:en

img-1 img-2 [Smile] Content Delivery Network- smile_cdn

[Smile] Content Delivery Network

Extension Key: smile_cdn

Language: en

Keywords: frontend, cdn, replace, files

Copyright 2000-2010, Smile, <typo3@smile.fr>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

[Smile] Content Delivery Network 1

`Introduction 3 <#__RefHeading__708_1332002233>`_

What does it do? 3

Screenshots 3

`Configuration 4 <#__RefHeading__705_1621881556>`_

Set up a filter : 4

Set up multiples CDN hosts : 4

`Users manual 5 <#__RefHeading__714_1332002233>`_

Special Thanks 5

`Known problems 6 <#__RefHeading__730_1332002233>`_

`To-Do list 7 <#__RefHeading__732_1332002233>`_

`ChangeLog 8 <#__RefHeading__734_1332002233>`_

Introduction

What does it do?

  • This extension replaces local file references in the html page with references to remote files, allowing to host files on a different server (known as Content Delivery Network / CDN). It allow very simply to set up URL filters which will be replaced with a defined rule. The extension will only affect cached content.

  • Warning : The extension allows to replace URLs, but it doesn't take care of CDN folder synchronization with you Typo3 site.

    You have to synchronize all the folders you intent to distribute with your CDN, so that when Typo3 adds a file to it, it will be instantly copied to your CDN.

Screenshots

Extension configuration :

img-3

Configuration

Set up a filter :

You can configure, up to 9 simple filters this way:

img-4

CDN URL to point to | URL segment to catch and replace

In this example, an URL in the pattern “fileadmin/images/01,jpg” will be replaced by “http://media.smile.fr/fileadmin/default/templates/images/01.jpg

Set up multiples CDN hosts :

You may want to use multiple CDN hosts, in that case, you can fill up to three CDN Hosts.

Instead of writing you complete CDN URL in the filters, replace it with ###CDN###.

Your replaced URL will now alternate between your different CDN hosts.

img-5

At least one host must be set in a “CDN Host” field

Users manual

  • Download .t3x file, and import it in the extension manager, then install it,

    img-6

  • Configure the extension (see next chapter)

  • Clear the cache

  • The URLs will be automatically replaced in all generated html which is in cache.

Before :

img-7

After :

img-8

Special Thanks

This development of this extension was made possible thanks to Poweo (http://www.poweo.com).

Thanks to them.

Known problems

If you meet problem or a bug using this extension, feel free to contact us at typo3[at]smile.fr

To-Do list

If you have any ideas to improve this extension, feel free to contact us at typo3[at]smile.fr

ChangeLog

0.1.0

Version

0.1.0

Changes

Initial extension publishing

img-2 8