Can Squish It publish files to a CDN
-
14-04-2021 - |
Question
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.
La solution
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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow