sf-combine-plugin
sf-combine-plugin copied to clipboard
Updated plugin to support CDNs
I've added some app settings and change the code in the helper to support the use of CDNs with sfCombinePlugin
In app
under each section (JS & CSS)
cdn: enabled: true # true if using a CDN or false if not host: cdn.example.com #the CDN host address protocol: // #http:// for straight http://, https:// for straight https or // to determined by page
Working on ProdPad using CloudFront as the CDN.
@simoncast We have configured CDN but it will not combine all css and js. So, please check it and revert back to me.
I've being working on this some more and keep running into a problem. The CDN part works fine but when every I try combining using base64 it fails on production producing a 404 but works on my local (whether using the CDN or not). Any ideas to why the combine would be producing a 404?