Looks like I'm in luck.. The last-modified header will be in the next Subversion release in a couple of weeks. Yeh!
http://subversion.tigris.org/issues/show_bug.cgi?id=971 And, thanks for the URLResourceManager patch. This has fixed the too many GET requests problem! However, if I am reading you correctly below there may still be a problem. You are saying that when there is no last-modified header OXF assumes a resource is uncacheable and issues a GET to reload it whenever necessary. This matches up with the Apache logs which show the object being requested. However changes I make to the source file still don't appear out the end of the pipelines. Is it possible there is something later in the web controller processor that is still caching too aggressively? Even a ctrl-refresh on the page after an hour doesn't display a change in model.xml that is visible if I request model.xml directly from the same link with a browser. My pipeline is just this. <page path-info="/" model="oxf:/pipelines/homepage/model.xml" view="oxf:/pipelines/homepage/format-homepage.xsl"/> I can setup a simple example of the issue from an online subversion server if that would help to reproduce the issue. Regards, Damon. ----- Original Message ----- From: "Julien Mercay" <[EMAIL PROTECTED]> To: "oxf-users" <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 11:50 PM Subject: Re: web.xml and urlresourcemanager > Damon, > > After taking a closer look at the code, OXF never puts an object in > the cache when the last modified value is 0 or less. > > Regards, > Julien > > Julien Mercay wrote: > > > > > Hi Damon, > > > > The URLConnection.lastModified() method returns 0 if no last-modified > > header is present. OXF happily use that number to calculate the > > validity of the object. Since no updated value will ever be available, > > the cached object will never expire or get refreshed. > > > > Regards, > > Julien > > > > > > > > _______________________________________________ > oxf-users mailing list > [EMAIL PROTECTED] > http://mail.orbeon.com/mailman/listinfo/oxf-users > _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
