Ramon Smits

Tell me your secrets and i'll tell you mine

Browse by Tags

All Tags » http (RSS)
MVC *always* returns status code 200 when a max age is set while it can return with 304
Take a look at the following mvc csharp code: Response.AddFileDependency(filename) Response.Cache.SetETagFromFileDependencies(); Response.Cache.SetCacheability(HttpCacheability.Public); Response.Cache.SetMaxAge(TimeSpan.FromHours(1)); return File(filename...
WCF and http (gzip/deflate) compression and Silverlight

The last couple of days I've tried to see if it was possible to make use of standard http compression on WCF services as I had very good experiences with WSE and even asmx webservices that used http compression to save bandwidth - but more important - and have better response times for large xml messages.

...