[Mono-list] Enabling cache in XSP

Robert Jordan robertj at gmx.net
Wed Jan 28 14:51:42 EST 2009


Robert Jordan wrote:
> Andrus wrote:
>> I try to call XSP server from browser.
>>
>> Browser sends http GET request with if-modified-since header to XSP server.
>>
>> XSP sends back 200 response and whole file contents always.
>>
>> This makes XSP server slow and increas server load.
>>
>> How to fix this so that XSP sends correct response to if-modified-since 
>> header opton if file is not changed ?
> 
> Assuming that you meant ASP.NET's StaticPageHandler: it does
> not handle if-modified-since. Last time I checked MS.NET
> did not support it either.

Correction: according to the source, mono's ASP.NET is
supporting if-modified-since. I must have confused that
with MS.NET.

Anyway, a real web server is performing better in this
case.

Robert



More information about the Mono-list mailing list