Difference between revisions of "WebIssues/Web Client"

From MiMec
Jump to: navigation, search
($JS_LIBS)
(javascript)
Line 12: Line 12:
  
 
==javascript==
 
==javascript==
There is a <code>$JS_LIBS</code> variable in the config_local file and points to the "js" subdirectory of webissues. One optimisation trick is to locate this on another domain, for example I have is set up on my http://libs.domain.com and this libs domain is optimized with compression and caching enabled. Also normally a browser out of courtesy will ony make around five concurrent connections to a server, so having some material on another domain, even from the same machnine really does speed things up.
+
===$JS_LIBS===
 +
There is a <code>$JS_LIBS</code> variable in the <code>config.local.php</code> file and points to the "js" subdirectory of the webissues directory.  
 +
 
 +
One optimization trick is to locate the javascript libraries/style sheets on another domain. For example a http://libs_sub.domain.com can be optimized with compression and caching enabled. The rationale is that normally a browser out of courtesy will only make around five concurrent connections to a server, so having some material on another domain, even serving from the same machine really does speed things up.

Revision as of 00:09, 25 February 2008

Here the overall idea of the web design, and as usual this document is subject to change.

The target web client is based on the following components being available.

apache

database

php

smarty

javascript

$JS_LIBS

There is a $JS_LIBS variable in the config.local.php file and points to the "js" subdirectory of the webissues directory.

One optimization trick is to locate the javascript libraries/style sheets on another domain. For example a http://libs_sub.domain.com can be optimized with compression and caching enabled. The rationale is that normally a browser out of courtesy will only make around five concurrent connections to a server, so having some material on another domain, even serving from the same machine really does speed things up.