Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037019Retail ModulesWeb POSpublic2017-10-06 10:282017-10-06 11:38
alostale 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0037019: slow requests to loginutils when logging in WebPOS
When logging in WebPOS two slow requests to login utils with preRender command. It generates a list of labels and list values. First request is done while showing login page and second one while loading terminal.

Login WebPOS and check requests
1. Both labels and lists are dependent on language and app module, it should be easily cacheable.
2. Is request in login page needed at all? Note page is correctly rendered even before this response arrives. If not needed, it should be prevented.
Performance
diff 37019-wip.diff (3,670) 2017-10-06 10:29
https://issues.openbravo.com/file_download.php?file_id=11146&type=bug
Issue History
2017-10-06 10:28alostaleNew Issue
2017-10-06 10:28alostaleAssigned To => Retail
2017-10-06 10:28alostaleTriggers an Emergency Pack => No
2017-10-06 10:29alostaleFile Added: 37019-wip.diff
2017-10-06 10:31alostaleDescription Updatedbug_revision_view_page.php?rev_id=16038#r16038
2017-10-06 10:31alostaleProposed Solution updated
2017-10-06 10:32alostaleNote Added: 0099788
2017-10-06 11:36alostaleTag Attached: Performance
2017-10-06 11:38alostaleIssue Monitored: alostale

Notes
(0099788)
alostale   
2017-10-06 10:32   
Attached partial patch that implements cache. Note when loading login page language parameter is null, so actual value is computed, this might make to have an incorrect cache key in some cases.