(Archived) Which plugins support the use of S3 as CDN for Wordpress

You have tried to access an archived page. Please go to the new https://root360.atlassian.net/wiki/spaces/KB to find more documents.




A content delivery network (CDN) accelerates the delivery of static content. Root360 recommends the use of AWS S3 as a CDN for Wordpress.

The following plugins support S3 as CDN (extract):



W3 Total Cache:

In addition to the CDN support, the plugin W3 Total Cache offers several options to improve performance. This includes PageCache and CSS/JS Minify. PageCache as well as Minify + Cache can be used by default via Opcode or Disk: Enhanced .

Please note that without a central cache like Memcached, caches can only be deleted via a re-deployment. It is therefore not recommended to use caches such as PageCache or DB cache without memcached. A scalable memcached instance can be provided by root360 as a managed service. 


Disadvantage of the plugin: The plugin is currently not compatible with S3 Buckets in Frankfurt in version 0.9.4.1. Alternatively, a bucket can be used at any time in Ireland (EU).

The following settings must be adjusted after installation:

1. Activate the CDN

2. Configuration of the CDN:

The files for theme and possible includes are ideally from the PHP sources and should not be activated via the CDN. These fields must be deactivated. 


3. Configuring S3 Buckets (in consultation with root360):




Since the configuration takes place in a master.php file, it must be stored in the sources after each change. This ensures that the configuration is available for each new instance. The configuration is to be "exported" at the end and in the sources under wp-content / w3tc-config / master.php.

WP Offload S3 Lite:

This plugin provides a simple CDN support to deliver images from the Wordpress media library via S3.

Configure the access credentials via wp-config.php (replace the '*' with your credentials):

define( 'DBI_AWS_ACCESS_KEY_ID', '*********************' ); define( 'DBI_AWS_SECRET_ACCESS_KEY', '***********************************' );



Then you have to adjust the following settings in the Wordpress admin panel:

IMPORTANT: because root360 also uses S3 as a local filemount, "Remove Files From Server" must be disabled. Otherwise the images are deleted from the CDN.

root360 Knowledge Base - This portal is hosted by Atlassian (atlassian.com | Privacy Policy)