문제

I just found squish it, it looks very promising but I need to upload my js and css scripts to our CDN servers. We have 10 web servers and an external CDN.

Is there a way to upload the compressed files to a CDN or does it only work on a single server.

도움이 되었습니까?

해결책

I ended up using the Yahoo Yui Compressor MsBuildTask on a post build event to compress and combine our javascript and css. Then I created a simple html helper method to detect debug and release mode to write the script tags.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top