Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kishore3k
Partner - Contributor III
Partner - Contributor III

Behavior of theme.json in QlikSense mashup

In our mashup we are using custom theme for gradient/classes colors in application. We are facing performance issue and run the fiddler in chrome & found theme.json file is getting called repeated through the application.

We are applying the theme before the app in mashup. 

qlik.theme.apply('customtheme').then(function(result) {});
senseApp = qlik.openApp('appId', config);
 

Anyone have idea how custom theme works in mashup?  will hit the json file every single visualization ? is there possibility we  can cache them in local?

Please find attached screenshot taken from fiddler.

 
 

 

 

2 Replies
LCauch
Contributor III
Contributor III

Hey @kishore3k ,

I'm interested, did you find anything regarding this ?How did you find that the theme was called multiple times ? I am using a custom theme as well and I'm curious on its behavior. 

Thanks,

Leo 

kishore3k
Partner - Contributor III
Partner - Contributor III
Author

Hey,

We ran the url fiddler app and to find the resources that takes times to get download from the server. We found this theme.json file being called many times over, so I posted here. 

We have improved the server performance after connecting with Network team and optimizing the code a bit.