title: Leverage browser catching for google plus button and analytics (2)
body: <p>This is the code I put in my htaccess file but it is not working. Maybe I am missing something? or doing something wrong? Help if you can, please.</p>
  
  <pre><code>ExpiresActive On
  ExpiresByType image/jpg "access plus 1 month"
  ExpiresByType image/jpeg "access plus 1 month"
  ExpiresByType image/gif "access plus 1 month"
  ExpiresByType image/png "access plus 1 month"
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType application/pdf "access plus 1 month"
  ExpiresByType text/x-javascript "access plus 1 month"
  ExpiresByType application/x-shockwave-flash "access plus 1 month"
  ExpiresByType image/x-icon "access plus 1 year"
  ExpiresDefault "access plus 1 week"
  </code></pre>
  
  <p>But, After adding google plus one button to my site and adding google analytics I get these two sugestions on gtmetrix.com</p>
  
  <p>The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:</p>
  
  <p><a href="https://apis.google.com/js/plusone.js" rel="nofollow">https://apis.google.com/js/plusone.js</a> (30 minutes)
  <a href="http://www.google-analytics.com/ga.js" rel="nofollow">http://www.google-analytics.com/ga.js</a> (12 hours)</p>
  
  <p>How do i write the code in the htaccess to leverage browser catching for these 2. And is it a good idea to leverage browser catching from for google analytics?</p>