From 92e0de2ef148d12420223bd32497fe1d594005db Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 24 Jan 2012 23:41:50 +0000 Subject: [PATCH] add note on available runtime system properties git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235557 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/site/xdoc/index.xml | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) 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)
  • +
+

-- 2.39.5