http-compression
Compress/Decompress NSString in objective-c (iphone) using GZIP or deflate
After all this time, I finally found a solution to this problem! None of the answers above helped me, as promising as they all looked. In the end, I was able to compress the string on the server with gzip using the chilkat framework for .net … and then decompress it on the iphone using … Read more
Compress HTTP GET Response
The easiest is to enable compression directly at IIS level. If you want to do it at the application level you could write a custom delegating message handler as shown in the following post: public class CompressHandler : DelegatingHandler { protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { return base.SendAsync(request, cancellationToken).ContinueWith<HttpResponseMessage>((responseToCompleteTask) => { HttpResponseMessage response … Read more
HttpWebRequest & Native GZip Compression
What about the webrequest AutomaticDecompression Property available since .net 2? Simply add: webRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate; It also adds the gzip,deflate to the accept encoding header. See http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.automaticdecompression.aspx
Combine and Minify Multiple CSS / JS Files
Check out minify – it allows you combine multiple js, css files into one just by stacking them into a url, e.g. <script src=”https://stackoverflow.com/scripts/js/main.js,/scripts/js/adapter/adapter.js”></script> We’ve used it for years and it does a great job and does it on the fly (no need to edit files).