Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

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.

Table of Contents

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 .

...

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:

...

Code Block
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:

...

(warning) 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. (warning)