StiMobileViewer - caching js files

Stimulsoft Reports.WEB discussion
Post Reply
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

StiMobileViewer - caching js files

Post 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 1449 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiMobileViewer - caching js files

Post 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.
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

Re: StiMobileViewer - caching js files

Post by FrenkR »

please add your decision and implementation schedule. Thanks,
Frenk
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: StiMobileViewer - caching js files

Post by Alex K. »

Hello,

We will let you know about the result.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiMobileViewer - caching js files

Post 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.
Post Reply