Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034659Retail ModulesWeb POSpublic2016-11-30 17:332016-12-07 17:53
egoitz 
marvintm 
normalmajoralways
closedfixed 
5
 
RR17Q1 
guilleaer
No
0034659: Performance problems when building the application cache
When the application cache is built when accessing to the login page of a terminal, it takes long when the pos is defined to use remote images and there are thousands (30.000) images.
Request the login page on an environment using remote pos images with thousands of product images.
Performance
Issue History
2016-11-30 17:33egoitzNew Issue
2016-11-30 17:33egoitzAssigned To => Retail
2016-11-30 17:33egoitzResolution time => 1482188400
2016-11-30 17:33egoitzTriggers an Emergency Pack => No
2016-12-06 08:56hgbotCheckin
2016-12-06 08:56hgbotNote Added: 0092107
2016-12-06 08:56hgbotStatusnew => resolved
2016-12-06 08:56hgbotResolutionopen => fixed
2016-12-06 08:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/31978d7ed71b40f88f1926befff749fae393113a [^]
2016-12-06 08:56hgbotCheckin
2016-12-06 08:56hgbotNote Added: 0092108
2016-12-06 08:56hgbotCheckin
2016-12-06 08:56hgbotNote Added: 0092109
2016-12-06 21:23marvintmAssigned ToRetail => marvintm
2016-12-07 10:37shuehnerTag Attached: Performance
2016-12-07 17:53guilleaerReview Assigned To => guilleaer
2016-12-07 17:53guilleaerStatusresolved => closed
2016-12-07 17:53guilleaerFixed in Version => RR17Q1

Notes
(0092107)
hgbot   
2016-12-06 08:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 31978d7ed71b40f88f1926befff749fae393113a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Dec 05 14:34:29 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/31978d7ed71b40f88f1926befff749fae393113a [^]

Fixed issue 34659. Improve appCache generation through two main changes:
- Now the productImages folder is not considered when building the manifest.
- Now the manifest itself is cached for each application. Therefore, it will be only generated once, and then subsequent requests will read it from the cache, improving performance.

---
M src/org/openbravo/mobile/core/BaseCoreAppCacheResourceProvider.java
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0092108)
hgbot   
2016-12-06 08:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f2ce83b55e9dbcd7ae3090419fff7f57bf022392
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Dec 05 19:37:05 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f2ce83b55e9dbcd7ae3090419fff7f57bf022392 [^]

Related to issue 34659. Manifest will not be cached if system is either in development or test mode.

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0092109)
hgbot   
2016-12-06 08:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 90363800db3ccaebb42a0a077375c06fc3431988
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 06 08:43:37 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/90363800db3ccaebb42a0a077375c06fc3431988 [^]

Related to issue 34659. Centralized file reading logic in one place.

---
M src/org/openbravo/mobile/core/BaseCoreAppCacheResourceProvider.java
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---