I was trying different fonts this afternoon and noticed that I don’t need to clear my caching plugin, CDN or Autoptimize caches for the changes to take effect (when viewed from a PC which isn’t logged in to WordPress).
So I assume that the changes made to the theme (Generate press child theme) using the “customize” section either aren’t being cached or aren’t being served from my CDN (or both)
I have already selected “Combine CSS” and “Cache Dynamic CSS” but it seems that these files either aren’t being used or are regenerated when I save the customizations and aren’t being served via my CDN (I suspect the latter).
Autoptimize is set to exclude (as advised in the Generatepress documentation):
wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css
(Note: I don’t use the standard directory names but I have excluded the equivalent of these folders)
CDN is set to include:
wp-content,wp-includes (but excludes PHP)
(As above: I don’t use the standard directory names but I have excluded the equivalent of these folders)
Caching plugin doesn’t have anything to set
I have added some css manually to my child theme (in style.css) and as far as I can see that is cached and served by my CDN
Should the css which is generated by Generatepress also be served by my CDN or is the behaviour that I have described correct?