-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Mats,
Ideally, you should do both: use versioned resources, and have them served by Apache. The documentation on the page linked below provides the Apache configuration with and without versioned resources. http://www.orbeon.com/orbeon/doc/reference-xforms-configuration Alex On Wed, Mar 10, 2010 at 9:37 AM, Mats Eklund <[hidden email]> wrote: > > Hi, > > Would just like to point out that the documentation is a bit self-contradicting regarding how to optimally serve static files. > > http://wiki.orbeon.com/forms/doc/developer-guide/performance-tuning > > In one location it says that one should use versioned resources for javascript files and stylesheets etc, in another it says one should not serve static files through orbeon forms. > > Mats > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Mats,
The XPL engine determines a "tree" of everything that is involved in generating that output, which is XSLT in your case (the pipeline, the XSLT, the XIncluded files, the request...) and if everything can be timestamped and the max(timestamp) <= if-modified-since, then the serializer can respond Not Modified. Alex On Fri, Mar 12, 2010 at 2:46 AM, Mats Eklund <[hidden email]> wrote: > > Ah, I see! Ok, I'm running apache tomcat on windows, so not sure how to accomplish that, but only using versioned resources is already helping a lot. > > A related question, I serve an XSLT file which I have chosen to serve via an XPL view with a simple oxf:url-generator handling xincludes to embed another (semi-static) XML document in the XSLT file. The XSLT file is served with an expiration date of now, and the client re-requests it with an If-modified-since, and the server responds with Not Modified. How does Orbeon determine that the resource has not been modified in this case? > > Thanks, > Mats > > --- On Fri, 3/12/10, Alessandro Vernet <[hidden email]> wrote: > > From: Alessandro Vernet <[hidden email]> > Subject: [ops-users] Re: Performance tuning > To: [hidden email] > Date: Friday, March 12, 2010, 4:47 AM > > Mats, > > Ideally, you should do both: use versioned resources, and have them > served by Apache. The documentation on the page linked below provides > the Apache configuration with and without versioned resources. > > http://www.orbeon.com/orbeon/doc/reference-xforms-configuration > > Alex > > On Wed, Mar 10, 2010 at 9:37 AM, Mats Eklund <[hidden email]> wrote: > > > > Hi, > > > > Would just like to point out that the documentation is a bit self-contradicting regarding how to optimally serve static files. > > > > http://wiki.orbeon.com/forms/doc/developer-guide/performance-tuning > > > > In one location it says that one should use versioned resources for javascript files and stylesheets etc, in another it says one should not serve static files through orbeon forms. > > > > Mats > > > > > > > > -- > > You receive this message as a subscriber of the [hidden email] mailing list. > > To unsubscribe: mailto:[hidden email] > > For general help: mailto:[hidden email]?subject=help > > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > > > -- > Orbeon Forms - Web forms, open-source, for the Enterprise - > http://www.orbeon.com/ > My Twitter: http://twitter.com/avernet > > -----Inline Attachment Follows----- > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Mats,
Then this would be a bug ;). And if you have a simple/minimal example that reproduces this, we would be interested in looking at it. Alex On Fri, Mar 12, 2010 at 1:20 PM, Mats Eklund <[hidden email]> wrote: > > Ok, that is what I thought would be the optimum case. But if I'm not mistaken, when I edited the XIncluded file, the server still responded with Not Modified!? > > > --- On Fri, 3/12/10, Alessandro Vernet <[hidden email]> wrote: > > From: Alessandro Vernet <[hidden email]> > Subject: [ops-users] Re: Re: Re: Performance tuning > To: [hidden email] > Date: Friday, March 12, 2010, 8:50 PM > > Mats, > > The XPL engine determines a "tree" of everything that is involved in > generating that output, which is XSLT in your case (the pipeline, the > XSLT, the XIncluded files, the request...) and if everything can be > timestamped and the max(timestamp) <= if-modified-since, then the > serializer can respond Not Modified. > > Alex > > On Fri, Mar 12, 2010 at 2:46 AM, Mats Eklund <[hidden email]> wrote: > > > > Ah, I see! Ok, I'm running apache tomcat on windows, so not sure how to accomplish that, but only using versioned resources is already helping a lot. > > > > A related question, I serve an XSLT file which I have chosen to serve via an XPL view with a simple oxf:url-generator handling xincludes to embed another (semi-static) XML document in the XSLT file. The XSLT file is served with an expiration date of now, and the client re-requests it with an If-modified-since, and the server responds with Not Modified. How does Orbeon determine that the resource has not been modified in this case? > > > > Thanks, > > Mats > > > > --- On Fri, 3/12/10, Alessandro Vernet <[hidden email]> wrote: > > > > From: Alessandro Vernet <[hidden email]> > > Subject: [ops-users] Re: Performance tuning > > To: [hidden email] > > Date: Friday, March 12, 2010, 4:47 AM > > > > Mats, > > > > Ideally, you should do both: use versioned resources, and have them > > served by Apache. The documentation on the page linked below provides > > the Apache configuration with and without versioned resources. > > > > http://www.orbeon.com/orbeon/doc/reference-xforms-configuration > > > > Alex > > > > On Wed, Mar 10, 2010 at 9:37 AM, Mats Eklund <[hidden email]> wrote: > > > > > > Hi, > > > > > > Would just like to point out that the documentation is a bit self-contradicting regarding how to optimally serve static files. > > > > > > http://wiki.orbeon.com/forms/doc/developer-guide/performance-tuning > > > > > > In one location it says that one should use versioned resources for javascript files and stylesheets etc, in another it says one should not serve static files through orbeon forms. > > > > > > Mats > > > > > > > > > > > > -- > > > You receive this message as a subscriber of the [hidden email] mailing list. > > > To unsubscribe: mailto:[hidden email] > > > For general help: mailto:[hidden email]?subject=help > > > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > > > > > > > > -- > > Orbeon Forms - Web forms, open-source, for the Enterprise - > > http://www.orbeon.com/ > > My Twitter: http://twitter.com/avernet > > > > -----Inline Attachment Follows----- > > > > > > -- > > You receive this message as a subscriber of the [hidden email] mailing list. > > To unsubscribe: mailto:[hidden email] > > For general help: mailto:[hidden email]?subject=help > > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > > > > > -- > > You receive this message as a subscriber of the [hidden email] mailing list. > > To unsubscribe: mailto:[hidden email] > > For general help: mailto:[hidden email]?subject=help > > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > > > -- > Orbeon Forms - Web forms, open-source, for the Enterprise - > http://www.orbeon.com/ > My Twitter: http://twitter.com/avernet > > -----Inline Attachment Follows----- > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |