Jos Vos wrote:

How is the caching of static files (.xsl etc.) defined?
I have seen the following:

-  When I make a change to a .xsl file that is used as "view",
   sometimes (?) the old contents of the .xsl file seem to be
   used for some time (not sure how long, it may be only
   5-10 seconds, maybe longer).

1. This should not happen. The file should be reloaded pretty much immediately after a change. Any way you can find a reproduceable case? As a temporary measure, can you try to make it so that your browser doesn't cache pages and see if that changes the behavior?


-  When such a .xsl file uses <xi:include ...>, the situation
   seems to be much worse: when I change the *included file*,
   the old contents of the included file seem to be used for
   a long time (if not forever) and I had to "touch" the .xsl
   file to solve this problem.

2. This is a known issue: we do not handle caching dependencies with XInclude. Everytime you change an XIncluded file, you must touch root of all the inclusions.


Note that for XSLT dependencies (xsl:include, xsl:import) on the other hand, dependencies are handled correctly. But XInclude is a completely different mechanism, implemented at the moment at the level of the XML parser.

This all makes debugging of an application while developing
quite problematic.

Agreed. #2 is a missing feature that can be fixed. #1 may be a bug.

-Erik


------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to