Support

Find answers, guides, and tutorials to supercharge your content delivery.

Typo3 CDN Integration

Updated on October 4, 2018

Typo3 is an open source CMS used primarily by enterprises or for Intranet purposes. With a large, active community of 100,000 people in 48 countries, this CMS offers great opportunities for both beginners and experts. Using a CDN to help further improve the global performance of your Typo3 installation, is an easy way to help keep your users happy by providing them with a better user experience.

This tutorial guides you through the Typo3 CDN integration with the Content Replacer extension which is compatible with both Typo3 LTS 7 and 8.

Typo3 CDN integration

  1. Create a Pull Zone before you start with the Typo3 CDN integration.

  2. Log in to the Typo3 backend.

  3. Navigate to the Extension page and install the Content Replacer extension from content_replacer.

  4. Navigate to the template page and edit the template located at the root level.

  5. Scroll down to Setup and enter the following code (be sure to replace example-hexid.kxcdn.com with your own Zone URL or Zone Alias):

    config.tx_ja_replacer {
        search {
            1="typo3temp/
            2="fileadmin/
            3="typo3conf/
        }
    
        replace {
            1="https://example-hexid.kxcdn.com/typo3temp/
            2="https://example-hexid.kxcdn.com/fileadmin/
            3="https://example-hexid.kxcdn.com/typo3conf/
        }
    }
    
  6. Save your template, flush the frontend and general caches and verify your page source to ensure your assets are being delivered through the KeyCDN URL.

Another Typo3 CDN integration option is to use the cs_cdn extension which is based on smile_cdn. This extension replaces local file references with references to remote files, overwrites file links, and can delete KeyCDN files from cache. Read the TYPO3 Performance article for more information from the authors.

Supercharging Typo3 with a CDN integration

With KeyCDN, supercharging your Typo3 Installation is done in a variety of ways.

  • KeyCDN offers HTTP/2 support on all edge servers to help improve speed and optimize content delivery.
  • Access to a global network of POPs allows site owners to deliver content to users faster. For large enterprise customers, this not only helps reduce latency but is also cheaper.
  • Instant Purge ability allows customers to purge by URL or purge everything. It only takes a few seconds until the cache is globally purged on all POPs.

KeyCDN also offers many additional features and provides a list of useful tools to do everything from site speed tests to HTTP/2 server checks, and much more.

Supercharge your content delivery 🚀

Try KeyCDN with a free 14 day trial, no credit card required.

Get started
KeyCDN uses cookies to make its website easier to use. Learn more