If you’re using the open source TYPO3 for enterprise content management, you care about performance. Touted as a flexible and scalable CMS for websites and mobile apps, combining TYPO3 with StackPath CDN helps further enhance the performance TYPO3 affords.
This article will walk you through how to perform a static assets integration, which does not support the use of the StackPath Web Application Firewall (WAF). If you’re looking to maximize security by using our CDN with the WAF, please refer to the CDN & WAF integration guide.
This tutorial will show you how to use the TYPO3 CMS bootstrap package to integrate StackPath into your TYPO3 content management system.
This tutorial assumes a StackPath Site is created.
Setup
- Go to your Typo3 Login page and log in.
- In Admin Tools, select “Extension manager.” Then from the top drop-down menu, select “ Get Extensions”.
- In the search field, enter “Content Replacer,” then press Enter. Once the search for the extension is done, click on the Import and Install icon next to the version 2.1.0.
- In your sidebar, select Template. Open the settings page of the template you’ve selected. Please note that the template has to be root level.
- Add the following code in the setup field:
config.tx_ja_replacer { search { 1="typo3temp/ 2="fileadmin/ 3=”typo3conf/ } replace { 1="http://something.stackpathcdn.com/typo3temp/ 2="http://something.stackpathcdn.com/fileadmin/ 3="http://something.stackpathcdn.com/typo3conf/ } }
Please make sure to replace http://site.company.stackpathdns.com/ with your actual Edge Address. Save the settings.
- Flush the frontend cache once you make these changes.
You are now serving static files through StackPath. If you have any questions, please contact support through ticket.