Hello,
Can you suggest or help with a set of subs_filter and/or regex for w3tc CDN replacement?
Right now w3tc is handling sending things to our cloudfront; we’d like to move to redis and simplify, the last hurdle is a set of filters or regex which does what w3tc does for CDN.
We’d need settings to mimic:
Host attachments - Checked
Host wp-includes/ files - Checked
Host theme files - Checked
Host minified CSS and JS files - Checked
Host custom files - Checked
Import external media library attachments - Checked
Add canonical header - Checked
wp-includes file types to upload: *.css;*.js;*.gif;*.png;*.jpg;*.xml
Theme file types to upload: *.css;*.js;*.gif;*.png;*.jpg;*.ico;*.ttf;*.otf,*.woff,*.less
Custom file list:
apple-touch-icon-57x57.png
apple-touch-icon-60x60.png
apple-touch-icon-72x72.png
apple-touch-icon-76x76.png
apple-touch-icon-114x114.png
apple-touch-icon-120x120.png
apple-touch-icon-144x144.png
apple-touch-icon-152x152.png
apple-touch-icon-180x180.png
favicon-32x32.png
android-chrome-192x192.png
favicon-96x96.png
favicon-16x16.png
manifest.json
mstile-144x144.png
favicon.ico
{wp_content_dir}/gallery/*
{wp_content_dir}/uploads/avatars/*
{plugins_dir}/wordpress-seo/css/xml-sitemap.xsl
{plugins_dir}/wp-minify/min*
{plugins_dir}/*.js
{plugins_dir}/*.css
{plugins_dir}/*.gif
{plugins_dir}/*.jpg
{plugins_dir}/*.png
Rejected files:
{uploads_dir}/wpcf7_captcha/*
{uploads_dir}/imagerotator.swf
{plugins_dir}/wp-fb-autoconnect/facebook-platform/channel.html
Set cookie domain to [our domain in question] - Checked
Cheers