You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Matt Goodall <ma...@gmail.com> on 2008/04/17 14:24:24 UTC
Busy Futon
Hi,
After the switch to MochiWeb (nice!) I noticed Futon slowed down quite
a lot because MochiWeb was not sending Last-Modified headers for the
static resources.
I've submitted a patch to the MochiWeb project to add
Last-Modified/If-Modified-Since support to
mochiweb_request:serve_file/2. See
http://code.google.com/p/mochiweb/issues/detail?id=9.
The patch hasn't been accepted yet but it makes quite a difference.
The patch should apply to the mochiweb code in the CouchDB repo if
anyone's interested (more testing can only be a good thing).
I'll let you know if/when the patch is accepted so CouchDB can get updated too.
Cheers, Matt
Re: Busy Futon
Posted by Matt Goodall <ma...@gmail.com>.
2008/4/17 Matt Goodall <ma...@gmail.com>:
> Hi,
>
> After the switch to MochiWeb (nice!) I noticed Futon slowed down quite
> a lot because MochiWeb was not sending Last-Modified headers for the
> static resources.
>
> I've submitted a patch to the MochiWeb project to add
> Last-Modified/If-Modified-Since support to
> mochiweb_request:serve_file/2. See
> http://code.google.com/p/mochiweb/issues/detail?id=9.
>
> The patch hasn't been accepted yet but it makes quite a difference.
> The patch should apply to the mochiweb code in the CouchDB repo if
> anyone's interested (more testing can only be a good thing).
>
> I'll let you know if/when the patch is accepted so CouchDB can get updated too.
The patch has now been committed.
- Matt