How to force caching of googles JSAPI?
<p>When using plain js ajax, the <code>jsapi</code> google library could be lazy loaded via <code>ajax</code> as follows:</p>

<pre><code>$.ajax({
    url: 'http://www.google.com/jsapi',
    dataType: 'script',
    cache: true, // otherwise will get fresh copy every page load
    success: function() {
      google.load("visualization", "1", {packages:["corechart"]}); 
    }
});
</code></pre>

<p>Here you can set the <code>cache: true</code> attribute.</p>

<p>Question: how can I set this attribute in a normal <code>&lt;script&gt;</code> tag?</p>

<p>Problem: I'm lazy loading the library in <code>angularjs</code> as follows on request:</p>

<pre><code>  var script = document.createElement('script');
  script.src = '//www.google.com/jsapi?callback=callback';
  document.body.appendChild(script);
</code></pre>

<p>Every time the page is accessed, the library is fetched again from google. It's never cached. Is it possible to enforce caching here? </p>