Page 1 of 1

StiMobileViewer - caching js files

Posted: Sat Oct 17, 2015 1:32 am
by FrenkR
Hi,
after checking network bandwidth, I found out that StiMobileViewer component references client javascript code using URL parameters:
jsCache.png
jsCache.png (70.73 KiB) Viewed 1452 times
So, these files are downloaded every time viewer is requested. Is there any way to put these references as "static" links ( e.g. {baseApp}/viewer/Ajax.js instead of "{baseApp}/viewer/default.aspx?{page defined URL parameters}&mobileviewer_script=ajax.js") to use browser client cache?
Rgds
Frenk

Re: StiMobileViewer - caching js files

Posted: Mon Oct 19, 2015 7:15 am
by HighAley
Hello.

Thank you for your suggestion.
We will analyze the way we request scripts and will make a decision how to improve it.

Thank you.

Re: StiMobileViewer - caching js files

Posted: Mon Oct 19, 2015 12:38 pm
by FrenkR
please add your decision and implementation schedule. Thanks,
Frenk

Re: StiMobileViewer - caching js files

Posted: Mon Oct 19, 2015 1:31 pm
by Alex K.
Hello,

We will let you know about the result.

Thank you.

Re: StiMobileViewer - caching js files

Posted: Tue Apr 26, 2016 11:47 am
by HighAley
Hello.

We have made a large refactoring in our products.
The StiWebViewer is a HTML5 viewer now.
Please, upgrade to the latest prerelease build and use StiWebViewer there.

Thank you.