Are you looking to make lightning faster at the speed of your TYPO3 site (as well as security)? You should consider TYPO3 CDN integration like Cloudflare, Akamai, custom CDN, etc.; In this blog post, I’m going to share the most popular TYPO3 CDN extensions - easy to install & use.
Modern TYPO3 CDN cloud is playing a vital role to increase the performance of the TYPO3 website. In my opinion, medium to large-scale TYPO3 websites should consider TYPO3 CDN integration. Fortunately, the TYPO3 community has many useful TYPO3 extensions which help us to integrate TYPO3 + CDN. While you integrate TYPO3 CDN, you will get two significant benefits: security + speed speed speed!
Before exploring and integrating the TYPO3 cloud, I recommend reading one of our popular blogs 45+ Ultimate Ways to Speed Up Your TYPO3 Performance and 30 Steps to Improve Your TYPO3 Security.
What is CDN?
“A content delivery network (CDN) refers to a geographically distributed group of servers which work together to provide fast delivery of Internet content.”
- Cloudflare
Why CDN?
“CDNs offer an easy way to increase the speed of a website while also lowering the latency. Therefore, they are essential for the fast, efficient, and secure delivery of content to users around the world.”
- Akamai
1. TYPO3 FAL + Amazon AWS S3
Markus Hölzle created one of the famous TYPO3 extensions for CDN; it provides a FAL driver for the Amazon Web Service S3. This is a driver for the file abstraction layer (FAL) to support Amazon AWS S3. You can create file storage that allows you to upload/download and link the files to an AWS S3 bucket. It also supports the TYPO3 CMS image rendering.
aus_driver_amazon_s3
Extension key
80K+
Downloads
2. TYPO3 Replacer
Pascal Rinker prepared a TYPO3 extension that replaces string patterns from the page. You can use it to replace URLs for Content Delivery Network (CDN).
config.tx_replacer {
search {
16 = "fileadmin/
17 = "/fileadmin/
}
replace {
16 = "https://cdn.tld/fileadmin/
17 = "https://cdn.tld/fileadmin/
}
}
// Original
<script src="/typo3temp/assets/compressed/example.file-3b0e5471d7c4492019f42b9ea637ce4e.js.gzip?1520863480" type="text/javascript"></script>
// Replaced by
<script src="https://cdn.tld/typo3temp/assets/compressed/example.file-3b0e5471d7c4492019f42b9ea637ce4e.js.gzip?1520863480" type="text/javascript"></script>
replacer
Extension key
37K+
Downloads
3. TYPO3 Content Replacer
Stefan Galinski created a cool concept TYPO3 content replacer extension. Do you need a fast substitution of terms with the full support of TypoScript, categories, and RTE integration? If yes, the extension could be perfectly fit into your project. Wrapping of the replacement terms gains the performance to simplify the parsing process.
content_replacer
Extension key
34K+
Downloads
4. TYPO3 Cloudflare CDN
Xavier Perseguers developed a Cloudflare TYPO3 extension to ensure your TYPO3 website is running optimally on the Cloudflare platform. Cloudflare-powered websites see a significant improvement in performance and a decrease in spam and other attacks.
cloudflare
Extension key
23K+
Downloads
5. TYPO3 Reverse Proxy - Cache Manager
Benni (Mr TYPO3) developed this TYPO3 extension to have a flexible and generic way to track the cached pages by a reverse proxy like Nginx or varnish or any valuable CDN.
Currently supported backends/providers:
- Cloudflare CDN
- Fastly CDN
- Varnish via curl
- plain curl
// typo3conf/AdditionalConfiguration.php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['proxycachemanager']['cloudflare']['zones'] = [
'example.com' => 'MY_ZONE_ID'
];
proxycachemanager
Extension key
10K+
Downloads
6. TYPO3 Asdis - Asset Distribution
Team AOE developed this extension to replace the BaseUrl to your assets (like Images, CSS-Files, and more) with a Domain configured by you.
// Setup
config.tx_asdis {
enabled = 1
servers {
media1 {
domain = media1{$const.cdn.domain}
}
media2 {
domain = media2{$const.cdn.domain}
}
}
}
// Example
www.yourdomain.com/fileadmin/stuff/image1.jpg
// Re-write
server1.yourCDN.com/fileadmin/stuff/image1.jpg
asdis
Extension key
5300+
Downloads
7. TYPO3 jQuery CDN
Stephan Kellermayr developed a TYPO3 extension that integrates the jQuery-library from CDN with a local fallback if the requested library is not available. All relevant versions of jQuery (including minified and gzipped-versions) are shipped with this extension. The script is automatically added on top of your included javascript and loads the latest jquery-library per default.
lib_jquery
Extension key
3300+
Downloads
8. TYPO3 Akamai CDN Adapter
One more from Benni, This extension is Akamai CDN Adapter for TYPO3 allows to flush CDN caches related to a TYPO3 installation. When TYPO3 is behind Akamai's EdgeGrid CDN, this extension is a perfect companion for you. This extension hides the complexity of Akamai's EdgeGrid API to purge caches.
akamai
Extension key
500+
Downloads
Wrapping-up!
Thanks for reading my TYPO3 article. I hope you liked and learned about TYPO3 CDN.
Choose the right CDN platform and integrate using above mentioned TYPO3 CDN extensions. Do you have any better solution to implement TYPO3 CDN? Or, Do you have any questions or problems while integrating TYPO3 CDN? Feel free to write to the comment box.
Have a Happy TYPO3 CDN!
Post a Comment
- Your articles always lead me in the right direction. I am learning a lot of things about TYPO3 CDN through this article. Keep guiding and sharing knowledge through this kind of content. Thanks again.
- Thank you again for your good content ! Excellent article as usual.
Sanjay Chauhan
CTO - T3Planet & NITSANSanjay Chauhan, Mitbegründer von NITSAN (Preisgekrönte TYPO3 Agentur) und Pionier von T3Planet, dem ersten TYPO3 Shop weltweit.
Ein wahrer TYPO3-Fanatiker seit 2010.
Mit meinem umfangreichen technischen Wissen und…
More From Author
Sanjay Chauhan
CTO at T3Planet & NITSANSanjay Chauhan, Co-Founder of NITSAN (Award winning TYPO3 agency) and Pioneer of T3Planet (first-ever TYPO3 Shop).
A true TYPO3 fanatic since 2010. I bring strong TYPO3 experience in building customer-business…
More From Author