Re: Roller's implementation on conditional Get

2010-05-26 Thread Dave
On Wed, May 26, 2010 at 12:11 AM, (David) Ming Xia wrote: >    I took a look into it and I found another place that has very intensive > database queries. > >    RequestMappingFilter.doFilter() --> WeblogRequestMapper.handleRequest(). > >   RequestMapingFilter's URL mapping is /*, so it check eve

Re: Roller's implementation on conditional Get

2010-05-25 Thread (David) Ming Xia
even more database wires.  Since many people work on Roller and everyone tends to add some more wires.    It seems that there should be a top-down design solution for this issue.       Like to hear something from you. David   --- On Tue, 5/25/10, Dave wrote: From: Dave Subject: Re: Rolle

Re: Roller's implementation on conditional Get

2010-05-25 Thread Dave
On Tue, May 25, 2010 at 8:59 PM, (David) Ming Xia wrote: > Thank you very much Dave for your response. > >    You are right.  Only the text/html content is mapped to URI > /roller-ui/rendering/page and caught by PageServlet and invoked JPA named > query for weblog.   All the resource files are m

Re: Roller's implementation on conditional Get

2010-05-25 Thread (David) Ming Xia
described above? Do you think it should be better if we use cache for last-modified?    Thank you very much.  David         --- On Tue, 5/25/10, Dave wrote: From: Dave Subject: Re: Roller's implementation on conditional Get To: user@roller.apache.org, david.ming@ibol.biz Date:

Re: Roller's implementation on conditional Get

2010-05-25 Thread Dave
On Fri, May 21, 2010 at 12:09 PM, (David) Ming Xia wrote: >    This is about the implementation of conditional Get in Roller 4.0.1. >    As far as I see, Roller 4.0.1 supports conditional Get. Upon request, > Roller checks the ‘If-Modified-Since’ field in the http header, and compares > it with

Re: Roller's implementation on conditional Get

2010-05-24 Thread (David) Ming Xia
Sorry, I should say that Roller check 'last-modified-time' to check the freshness of web browser cache.  Cache freshness is maintained in a different process. -David --- On Mon, 5/24/10, (David) Ming Xia wrote: From: (David) Ming Xia Subject: Re: Roller's implementation on

Re: Roller's implementation on conditional Get

2010-05-24 Thread (David) Ming Xia
t: Re: Roller's implementation on conditional Get To: user@roller.apache.org, david.ming@ibol.biz Date: Monday, May 24, 2010, 7:59 AM Hi David, If you are concerned with performance then you should use memcached to cache JPA lookups. You can also set explicit cache expires on your files.

Re: Roller's implementation on conditional Get

2010-05-24 Thread John G. Moylan
Hi David, If you are concerned with performance then you should use memcached to cache JPA lookups. You can also set explicit cache expires on your files. The last-modified issue you have specified above is the same on most dynamic systems where last-modified support based on time or etag is used.