2012-06-27 - [GRASE-Hotspot] #74: Translation of forms and other uam functions are slow due to loading libs

Header Data

From: GRASE Trac <tr***c@grasehotspot.org>
Message Hash: 4e21e7d98c8afb20d3e8c6f6b1cd0d42a3f03babd173d94b53c0eb3bc3f68ff6
Message ID: <039.44e0e80bc50648abcbbbe5e7f701b7d3@grasehotspot.org>
Reply To: N/A
UTC Datetime: 2012-06-27 20:23:54 UTC
Raw Date: Thu, 28 Jun 2012 03:23:54 -0000

Raw message

#74: Translation of forms and other uam functions are slow due to loading libs
----------------------------+-----------------
 Reporter:  tim             |      Owner:  tim
     Type:  enhancement     |     Status:  new
 Priority:  minor           |  Milestone:  3.9
Component:  Splash Screens  |    Version:  3.7
 Keywords:                  |
----------------------------+-----------------
 Most php scripts in uam have require_once('includes/site.inc.php') at the
 start. This is needed to load settings and to be able to translate files,
 etc.

 Find a way to lighten this considerably, as each request has 300ms of
 overhead just loading all the libraries!

 Possibility, as most of them are just for translation of templates, to
 write a new light template translator that we pass the language to in the
 GET request, so no loading of libs to read settings is needed, and we just
 need the translation code. Check if Smarty is still good if we are just
 doing translations, or if a quicker method is available.

-- 
Ticket URL: <http://trac.grasehotspot.org/ticket/74>
GRASE Hotspot <http://grasehotspot.org/>
GRASE Hotspot bug tracker




Thread