Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top