[00:03] Not every WordPress thing are lifted to CDN by W3 Total Cache, cause a little bit errors appears on your blog?
In this demonstration, it is about images (custom thumbnails using by Random Posts widget) which not associated as an attachment of a post, so it isn’t available on the CDN, CloudFront in this case.
[00:44] “Have you ever referenced a bunch of newly created assets (i.e. images or css files) contained in a custom directory within a WordPress template, page or post and assumed these assets will be automatically cached by MaxCDN? Or perhaps you’ve already noticed that they’re not being cached* and you’re wondering why not?” – wpexplorer.com
This image is not available until we were set W3 Total Cache up to include it into the upload queue (404/403 error).
[01:11] “The CDN Cloudfront Origin Push option for W3TC is replacing all references to files that aren’t mentioned in the default settings. This is causing 403 errors since not all files are being uploaded to the Cloudfront/S3.
I have compiled a list of all the files that are being replaced by CDN links and have added it to the Custom Files list” – wordpress.org
[01:20] We can change the Custom File List to include them (240x50 thumbnails) like this.
[01:26] It is only a little wildcard string.
[01:30] This is the default Custom File lists rules.
[01:36] Now, push the Upload custom files button, and everything will be fine.
[01:49] The “Export changed files automatically” option may processing this upload in the background.
[02:00] “Many W3 Total Cache settings are preset (shown in the install tab), but not all. I’ll walk you through the performance tabs then help you setup Cloudflare (free) and StackPath (comes with free 30-day trial, then $10/month). I recommend using both since each one adds more data centers, further reducing the geographic distance between your server and visitor. But if you’re deciding between faster hosting or StackPath, hosting is still the #1 speed factor” – onlinemediamasters.com
[02:12] You can learn more about the rule defined in the homepage of W3 Total Cache homepage.
[02:19] “WordPress has a lot of caching plugins available. We recommend using the W3 Total Cache plugin because it gives you granular control over the settings. Optimizing those settings gives you more room to improve performance.
The downside is that it’s difficult to make it work if you don’t know what you are doing” – mythemeshop.com
[02:24] A good demo is about using the wildcard to upload only thumbnails, which is PNG files.
[02:32] “If by clicking on Deploy you are forwarded to the page displaying: WordPress Failure Notice : Are you sure you want to do this? Please try again.
Click on Please try again.
You should now see a yellow header at the top. Click on the Deploy button.
To confirm that the plugin is working view the page source of your website. If your URL paths are showing the CNAME then you’ve successfully integrated your website with our CDN77 Network” – cdn77.com
[02:48] That’s all :)