Title: Fix Leverage browser caching
Last modified: October 5, 2020

---

# Fix Leverage browser caching

 *  Resolved [S o f t f u l l y](https://wordpress.org/support/users/softfully/)
 * (@softfully)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/fix-leverage-browser-caching/)
 * How to fix Leverage browser caching of three lines following in gtmetrix:
    Leverage
   browser caching for the following cacheable resources:
 * [https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX50-1&l=dataLayer&cx=c](https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX50-1&l=dataLayer&cx=c)(
   15 minutes)
    [https://ssl.google-analytics.com/ga.js](https://ssl.google-analytics.com/ga.js)(
   2 hours) [https://www.google-analytics.com/analytics.js](https://www.google-analytics.com/analytics.js)(
   2 hours)
 * AND
 * How to fix Serve resources from a consistent URL of two lines following in gtmetrix:
   
   The following resources have identical contents but are served from different
   URLs. Serve these resources from a consistent URL to save 1 request(s) and 37.3KiB.
 * [https://cdn.jsdelivr.net/wp/wp-slimstat/tags/4.8.8.1/wp-slimstat.min.js](https://cdn.jsdelivr.net/wp/wp-slimstat/tags/4.8.8.1/wp-slimstat.min.js)
   
   [https://cdn.jsdelivr.net/wp/wp-slimstat/trunk/wp-slimstat.min.js](https://cdn.jsdelivr.net/wp/wp-slimstat/trunk/wp-slimstat.min.js)
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/fix-leverage-browser-caching/#post-13493755)
 * Hi,
 * for first, these are external resources , you can not put cache header on these
   resources, you can try use localization to localize them and then put cache header
 * for second, you need to contact wp-slimstat author, there is nothing we can do
   about it in this case.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Fix Leverage browser caching’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/fix-leverage-browser-caching/#post-13493755)
 * Status: resolved