[erlang-questions] Re: fun with the new erlang.org!
Raimo Niskanen
raimo+erlang-questions@REDACTED
Fri Apr 1 16:04:46 CEST 2011
On Thu, Mar 31, 2011 at 09:25:09AM +0200, Raimo Niskanen wrote:
> On Thu, Mar 31, 2011 at 12:07:55AM +0200, Antoine Koener wrote:
> >
> > On Mar 30, 2011, at 13:50 , Steve Vinoski wrote:
> >
: :
> > Raimo,
> >
> > Here's a simple method to determine how 'caching' is handled by the
> > webserver:
> > http://www.ircache.net/cgi-bin/cacheability.py?query=http%3A%2F%2Fwww.erlang.org%2Fimages%2Fsearch_bar.jpg&descend=on
> >
> > It seems that inets isn't really ideal for serving real web content,
> > because [extracted from the web page]:
> > Last-Modified 70 weeks 5 days ago (Fri, 20 Nov 2009 11:37:29 GMT)
> > validation returned same object
> >
> > If-Modified-Since are HTTP headers means:
> > me (web browser talking) please web server give me only content that
> > has changed since this "date", because I don't need to
> > retrieve the same content since I already have it...
> >
> > Unfortunately inets sends the same content every time a HTTP GET is
> > done, regardless of HTTP headers.
> >
> > I hope that this explanation will clarify a bit more.
>
> It seems so, thank you very much. Now I have something to dig into.
> Part of the reason why we run Inets on the site is to find out what
> problems it has. We supposedly can change web server to Yaws or even
> maybe Mochiweb (I do not remember), but would preferably take the
> opportunity to fix Inets. I am not on the Inets team so I will take
> this to them...
>
Now the site replies correctly to If-Modified-Since.
There is an Inets module mod_responsecontrol to handle this,
which is now activated.
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
>
> --
>
> / Raimo Niskanen, Erlang/OTP, Ericsson AB
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list