From: Olivier Lamy Date: Tue, 24 Jan 2012 23:41:50 +0000 (+0000) Subject: add note on available runtime system properties X-Git-Tag: archiva-1.4-M3~1480 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=92e0de2ef148d12420223bd32497fe1d594005db;p=archiva.git add note on available runtime system properties git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235557 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/site/xdoc/index.xml b/archiva-modules/archiva-web/archiva-webapp-js/src/site/xdoc/index.xml index 9cb15a058..b3e04018b 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/site/xdoc/index.xml +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/site/xdoc/index.xml @@ -15,18 +15,27 @@
-

- The goal is to have a "one page loading" javascript application. -
- For this the only html page will contains a div with id "main-content" this div will be populated - by jquery template execution (see template loading). -
- The server will be contacted only for REST request/response (see details). -
- All UI rendering will be done only on client side. -
- As we are not designer :-), the application will use the twitter bootstrap css. -

+

+ The goal is to have a "one page loading" javascript application. +
+ For this the only html page will contains a div with id "main-content" this div will be populated + by jquery template execution (see template loading). +
+ The server will be contacted only for REST request/response (see details). +
+ All UI rendering will be done only on client side. +
+ As we are not designer :-), the application will use the twitter bootstrap css. +

+
+ +

The application is designed to use http cache mechanism for css, javascript. Except REST call to get datas which will never use cache as a query timestamp parameter is used. + But as this can cause issue in developpement phase, two system properties (disabled by default) prevent can prevent caching and/or help debuging +

    +
  • archiva.devMode= true/false: if true will add a timestamp query parameter for loading js and html templates.
  • +
  • archiva.javascriptLog= true/false: will activate javascript log, method available with $.log(msg)
  • +
+