Typo3 CDN Integration

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. Login to the Typo3 backend. typo3 login
  3. Navigate to the Extension page and install the Content Replacer extension from content_replacer.
    typo3 content replacer installcontent replacer success
  4. Navigate to the template page and edit the template located at the root level.
    typo3 template
  5. Scroll down to Setup and enter the following code (be sure to replace lorem-1c6b.kxcdn.com with your own Zone URL or Zonealias)
    config.tx_ja_replacer {
        search {
            1="typo3temp/
            2="fileadmin/
            3=”typo3conf/
        }
    
        replace {
            1="https://lorem-1c6b.kxcdn.com/typo3temp/
            2="https://lorem-1c6b.kxcdn.com/fileadmin/
            3="https://lorem-1c6b.kxcdn.com/typo3conf/
        }
    }

    typo3 template setup

  6. Save your template, flush the frontend and general caches and verify your page source to ensure your assets are being delivered via the KeyCDN URL.
    typo3 flush cache

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 tag, 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.

Leave A Comment?