Changes

Jump to navigation Jump to search
80 bytes removed ,  08:05, 29 September 2015
no edit summary
Whenever a RESTXQ URL is requested, the [[Options#RESTXQPATH|RESTXQPATH]] module directory and its sub-directories will be parsed for functions with RESTXQ annotations in library modules (detected by the extension {{Code|.xqm}}) and main modules (detected by {{Code|.xq}}). In main expressions, the main module will never be evaluated. All modules will be cached and parsed again when their timestamp changes.
The following features will be available with {{Version|8.3}}: * A sub-directory will not be parsed for RESTXQ files if it contains a file named {{Code|.ignore}}.* Module caching can be turned on by setting [[Options#CACHERESTXQ|CACHERESTXQ]] to true. The option is helpful in productive environments with a high load, but files should not be replaced while the web server is running.* If files are still replaced at runtime, the RESTXQ module cache can must be invalidated by calling the static root path {{Code|/.init}}.
==Examples==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu