Changes

Jump to navigation Jump to search
58 bytes added ,  14:13, 23 January 2017
If a RESTXQ URL is requested, the [[Options#RESTXQPATH|RESTXQPATH]] module directory and its sub-directories will be traversed, and all [[XQuery Extensions#Suffixes|XQuery files]] will be parsed for functions with RESTXQ annotations. Sub-directories that include an {{Code|.ignore}} file will be skipped.
To speed up processing, the functions of parsed the existing XQuery modules will are automatically be cached in main memory. A cached module Functions will be invalidated and parsed again if its the timestamp of their module changes.  The timestamp check monitoring can be disabled fine-tuned by enabling changing the [[Options#CACHERESTXQPARSERESTXQ|CACHERESTXQPARSERESTXQ]] option. This is recommedable for In productive environments with a high load, it may be recommendable to change the timeout, or completely disable monitoring. If files are all the same replaced while the web server is running, the RESTXQ module cache must should be explicitly invalidated by calling the static root path {{Code|/.init}} or by calling the [[RESTXQ Module#rest:init|rest:init]] function.
==Examples==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu