sf-combine-plugin icon indicating copy to clipboard operation
sf-combine-plugin copied to clipboard

Updated plugin to support CDNs

Open simoncast opened this issue 11 years ago • 2 comments

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 avatar Jun 12 '13 22:06 simoncast

@simoncast We have configured CDN but it will not combine all css and js. So, please check it and revert back to me.

bipin-virtueinfo avatar Jul 18 '13 07:07 bipin-virtueinfo

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?

simoncast avatar Dec 01 '13 19:12 simoncast