[Plugin: WP Super Cache] Problem With CDN & CSS
-
My theme’s CSS files aren’t being read correctly from Amazon CloudFront where I’ve copied my files, so my site doesn’t display correctly. Troubleshooting the problem, if I try to browse a CSS file directly in the browser, it downloads to my computer, rather than being displayed in the browser (which is how I think it should normally behave). If I exclude CSS files from being served using menu option, then all other file types are properly served from the CDN. All the permissions on CloudFront seem to be correct, but those pesky CSS files aren’t being served correctly.
Second, why should .php files be routinely excluded from CDN delivery, as recommended? Seems like that .php files constitute the bulk of the wp-includes and wp-content directories. What are the consequences of serving .php from the CDN? Thanks!
The topic ‘[Plugin: WP Super Cache] Problem With CDN & CSS’ is closed to new replies.