tableau / js-api-samples

Sample code for the Tableau JavaScript API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client-Side Caching of Dashboards (Visualizations)

matmill5 opened this issue · comments

Has anyone seen examples of caching Tableau visualizations on the client-side?

I have a collection of visualizations throughout my web application, and I would like to avoid reloading them as users navigate between views/pages.

From my understanding, the visualizations are Javascript objects of type Viz(), and they are managed by a parent object of type VizManager(); VizManager having a collection of Vizs as an attribute (Viz[]).

Would it be reasonable to persist the VizManager and its collection of Vizs in localStorage or indexedDB, to be loaded from memory on subsequent reloads?

commented

bulk closing. This is an interesting question, I bet there's some solid caching setups in e.g Zuar