chache google chart

55 views
Skip to first unread message

Jose Miguel Ramírez Escobedo

unread,
Jul 24, 2012, 4:25:17 PM7/24/12
to google-visua...@googlegroups.com
hi, i would like to know how can i implement cache to draw the chart, this way i don`t have to make a request all the time to draw the chart just when is no necesary, thank you

asgallant

unread,
Jul 24, 2012, 4:40:34 PM7/24/12
to google-visua...@googlegroups.com
According to the Terms of Service, you can't cache the API locally.

Jose Miguel Ramírez Escobedo

unread,
Jul 24, 2012, 4:56:02 PM7/24/12
to google-visua...@googlegroups.com


ok thank you, but this time i don`t meant that i want to download the libraries, what i would like to know is if google chart works with something like cache this to draw the chart faster and without making lot of request to the API Google, thank you

asgallant

unread,
Jul 24, 2012, 5:05:55 PM7/24/12
to google-visua...@googlegroups.com
You have to call google.load(...) on every page load if you want to draw charts, but you don't have to load it every time you draw a chart if there are multiple charts on the page or you have to redraw the charts at some point.  I don't know if the loader caches scripts in the browser, though.  AFAIK, there is no way to force it to cache the scripts.

Tanmay Verma

unread,
Jul 25, 2012, 1:13:08 AM7/25/12
to google-visua...@googlegroups.com
The loader does cache the script in the browser i think.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/OSmXi6DZV5kJ.

To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.



--

Tanmay Verma

Assistant Systems Engineer

V +91.11.41881037

M +919811091409

E tan...@digitalgreen.org

O K-2, Second Floor, Green Park Main, New Delhi, 110016, India

www.digitalgreen.org
Reply all
Reply to author
Forward
0 new messages