W3 Total Cache offers several tools to boost the performance of your WordPress site. One of these tools is it's CDN integration option. Using this, it is possible to use DreamObjects content with W3 Total Cache.
The plugin asks for a CDN type and while DreamObjects isn't in the list, it is possible to specify an S3-compatible service (which DreamObjects qualifies as).
This article assumes you've already installed the W3 Total Cache plugin within your WordPress dashboard.
Enabling the CDN
- Log into your WordPress dashboard.
- Navigate to the 'Performance > General Settings' page.
- Scroll down to the 'CDN' section.
- Click the 'CDN Type' dropdown.
- From the "CDN Type" drop-down list, under the section 'Origin Push:', select "Amazon Simple Storage Service (S3) Compatible".
- Make sure to click the Save all settings button to save your new changes.
- Navigate to the 'Performance > CDN' page.
- Scroll down to the "Configuration: Objects" section.
- API host: objects-us-east-1.dream.io
This article uses the new DreamObjects cluster of 'objects-us-east-1.dream.io'. If you have an older DreamObjects account and have not migrated your data yet, your hostname may need to point to 'objects-us-west-1.dream.io instead. Please review the following migration article for further details.
- Access key ID / Secret key: View the 'DreamObjects Keys' article for instructions on how to locate this information.
- Bucket: Specify your DreamObjects Bucket name.
- SSL support: If the bucket name you specified above does NOT contain a . (period) in it, you can use the "Auto (determine connection type automatically)" option.
- Replace site's hostname with (Optional): You'll need to setup a custom CNAME alias for your bucket in the panel, then enter it here. If you need to use SSL, you will have to use a third-party CDN like Cloudflare to create this alias.
- Click the Test S3 upload button.
- This should respond with "Test passed". You can now start using the "Upload..." buttons in the "General" section of the 'Performance > CDN' page of the WordPress dashboard to upload the necessary WordPress content to your DreamObjects bucket.