Site logo

Archived topic

W3 Total Cache CDN support

2 replies · Started by Dustin on September 5, 2020

Viewing posts 1–3 of 3

Hello,

I'm using W3 Total Cache. Enabling CDN support (Cloudfront over S3 variety) it breaks my generatepress site pretty badly. Images no long scale correctly, the arrow for navbar dropdown disappears, icons for the lightweight social icons disappear, background images for blocks are gone, page layouts break.

Is it possible to enable W3 Total Cache CDN support with this theme and plugin, or recommended not to enable it?

Found the issue(s)

Had to add the following to the 'custom files' area to get all of the files uploaded (this probably grabs more files than needed, but it works)
{wp_content_dir}/uploads/generateblocks/*
{plugins_dir}/*.woff
{plugins_dir}/*.woff2
{plugins_dir}/*.ttf
{plugins_dir}/*.otf
{plugins_dir}/generateblocks/*

I also had to follow the instructions at this URL regarding CORS on both S3 and Cloudfront
https://www.naschenweng.info/2014/09/23/wordpress-w3-total-cache-cloudfront-font-cors-issue/

Glad you found the issues and thanks for sharing your solution

This archived topic is closed to new replies.