Minified CSS/JS files are not served via CDN Amazon S3
-
Hi,
WP is installed in a subfolder /featured/.
CSS/JS are both set to auto minify on disk. This one works as expected, files are served like https://www.domain.com/featured/?w3tc_minify=15b09.css alright.
We have CDN also configured and working fine on all images and files. All images get auto served from for example:
https://s3-us-west-1.amazonaws.com/cdn.domain.com/featured/wp-content/uploads/2019/02/logo.pngHowever, minified files like 15b09.css are always served by the server, not via CDN. Under CDN settings
Host minified CSS and JS files – If checked, minified CSS and JS files will be hosted with the CDN.
is checked and inactive.
Automatically upload minify files – If CDN is enabled (and not using the origin pull method), your minified files will be automatically uploaded.
is also checked and inactive.Files can be found on the server, like:
/srv/domain.com/featured/wp-content/cache/minify/15b09.css
but the whole /cache/ folder is missing on CDN:
https://s3-us-west-1.amazonaws.com/cdn.domain.com/featured/wp-content/cache/We would very much like to serve these minified files from CDN as well. How to accomplish that?
Thanks!
- The topic ‘Minified CSS/JS files are not served via CDN Amazon S3’ is closed to new replies.