Hi Damon,

I looked in details at the HTTP requests made by the
URLResourceManager, and found that a bug has been introduced in
version 2.0. The bug added a GET request after each HEAD. I can send
you a patch if needed.

When using the PriorityResourceManager, it is better to assign the
lower priority to the faster resource manager, so they are queried
first. For instance, the FlatFileResourceManager is faster than the
WebApp and Classloader resource managers. The URLResourceManager is
the slowest.

I couldn't reproduce the caching problem you are experiencing. Can you
send me the pipeline executed when this occurs?

Regards,
Julien

Damon Rand wrote:

Hello guys,

A few more observations/questions:

1. The URLResourceManager seems to be making too many requests.. When I
start
oxf and access a page (one request) the apache log shows..

127.0.0.1 - - [02/Aug/2003:18:04:11 +0100] "HEAD
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:12 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:13 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:13 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:13 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:13 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:14 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:14 +0100] "HEAD
/repos/www/trunk/config/log4j.xml HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:14 +0100] "GET
/repos/www/trunk/config/log4j.xml HTTP/1.1" 200 1351
127.0.0.1 - - [02/Aug/2003:18:04:14 +0100] "GET
/repos/www/trunk/config/log4j.xml HTTP/1.1" 200 1351
127.0.0.1 - - [02/Aug/2003:18:04:14 +0100] "GET
/repos/www/trunk/config/log4j.xml HTTP/1.1" 200 1351
127.0.0.1 - - [02/Aug/2003:18:04:28 +0100] "HEAD
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:28 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:29 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:29 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:30 +0100] "HEAD
/repos/www/trunk/config/init.xpl HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:30 +0100] "GET
/repos/www/trunk/config/init.xpl HTTP/1.1" 200 397
127.0.0.1 - - [02/Aug/2003:18:04:30 +0100] "GET
/repos/www/trunk/config/init.xpl HTTP/1.1" 200 397
127.0.0.1 - - [02/Aug/2003:18:04:30 +0100] "GET
/repos/www/trunk/config/init.xpl HTTP/1.1" 200 397
127.0.0.1 - - [02/Aug/2003:18:04:30 +0100] "GET
/repos/www/trunk/config/init.xpl HTTP/1.1" 200 397
127.0.0.1 - - [02/Aug/2003:18:04:33 +0100] "HEAD
/repos/www/trunk/config/controller.xml HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:33 +0100] "GET
/repos/www/trunk/config/controller.xml HTTP/1.1" 200 388
127.0.0.1 - - [02/Aug/2003:18:04:33 +0100] "GET
/repos/www/trunk/config/controller.xml HTTP/1.1" 200 388
127.0.0.1 - - [02/Aug/2003:18:04:33 +0100] "GET
/repos/www/trunk/config/controller.xml HTTP/1.1" 200 388
127.0.0.1 - - [02/Aug/2003:18:04:34 +0100] "HEAD
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:34 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:34 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:34 +0100] "GET
/repos/www/trunk/config/properties.xml HTTP/1.1" 200 1857
127.0.0.1 - - [02/Aug/2003:18:04:34 +0100] "GET
/repos/www/trunk/config/controller.xml HTTP/1.1" 200 388
127.0.0.1 - - [02/Aug/2003:18:04:35 +0100] "HEAD
/repos/www/trunk/format-homepage.xsl HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:35 +0100] "GET
/repos/www/trunk/format-homepage.xsl HTTP/1.1" 200 3188
127.0.0.1 - - [02/Aug/2003:18:04:35 +0100] "GET
/repos/www/trunk/format-homepage.xsl HTTP/1.1" 200 3188
127.0.0.1 - - [02/Aug/2003:18:04:35 +0100] "HEAD
/repos/www/trunk/default.xml HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:18:04:35 +0100] "GET /repos/www/trunk/default.xml
HTTP/1.1" 200 3759
127.0.0.1 - - [02/Aug/2003:18:04:35 +0100] "GET /repos/www/trunk/default.xml
HTTP/1.1" 200 3759

Why is it making multiple GET requests for the same pages?

2. Also the caching seems to be a bit strange.. If I modify a page in the
repos and hit refresh I get..

127.0.0.1 - - [02/Aug/2003:19:44:56 +0100] "HEAD
/repos/a5gard.net/www/trunk/default.xml HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2003:19:44:56 +0100] "GET
/repos/a5gard.net/www/trunk/default.xml HTTP/1.1" 200 3602

So far so good, the modified page has a GET request issued against it.
However the changes don't appear in the oxf output? I need to restart the
servlet to see the changes. It almost like URLResourceManager is getting the
data to update its cached copies but never actually updating the cache.

3. I know I asked this back on version 1.5 but maybe the situation has
changed.. Is is going to be possible to have multiple servlet instances per
web.xml?


Damon.


_______________________________________________
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

Reply via email to