Javascript optimization

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

Javascript optimization

Post by FrenkR »

javascript files for client viewer UI are called as additional parameters to URL. Because URL for a report is generated using GUID, javascripts are downloaded each time report is generated and this takes additional time and bandwidth.
Can you please ignore report parameters for accessing javascript files to enable browser cache for javascript files, please?
Attachments
ssScripts.png
ssScripts.png (26.92 KiB) Viewed 1450 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Javascript optimization

Post by HighAley »

Hello.

You didn't specify what viewer or designer you use.
But we have added next property to StiMobileDesigner and StiMobileViewer.

Code: Select all

PassQueryParametersForResources="false"
This property will be available in our next official build.

Thank you.
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

Re: Javascript optimization

Post by FrenkR »

I use both and both have the same problem. This parameter is great, but please add additional versioning to resources to avoid browser caching problems.
Rgds,
Frenk
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Javascript optimization

Post by HighAley »

Hello.

We will add versioning for our scripts in our next build.
The next build will be next week and it will be our official release 2016.1.

Thank you.
Post Reply