• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Google Analytics and PageSpeed Insights

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Google Analytics and PageSpeed Insights

This topic is: not resolved

Tagged: google analytics, google pagespeed insights, leverage browser cache

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by aureliendebord.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 26, 2015 at 11:44 am #163592
    klipklopp
    Member

    I am using the Executive Theme on my site http://www.westminsterav.com. I also use Google Analytics. When I test my site on Google PageSpeed Insights, I get this error regarding Analytics:

    Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
    Leverage browser caching for the following cacheable resources:
    http://www.google-analytics.com/analytics.js (2 hours)

    It seems odd that one Google product doesn't like another. Am I doing something wrong? How can I fix this problem.

    Thanks!

    Ted

    http://www.westminsterav.com
    August 28, 2015 at 6:38 am #163870
    aureliendebord
    Member

    Hey Klipklopp,

    Unfortunatly, you can't do anything about this.
    You can't set any expire header for a ressource which is not provided by your website, but by Google.

    You can yet prefetch the dns of this ressource with some cache plugins.


    Agence web Debord, building websites in France.

    August 28, 2015 at 6:57 am #163874
    klipklopp
    Member

    Hi Aureliendebord,

    What do you mean by:

    You can yet prefetch the dns of this ressource with some cache plugins.

    Thanks!

    Ted

    August 31, 2015 at 8:54 am #164123
    aureliendebord
    Member

    You can reduce the time for getting the dns of Google.


    Agence web Debord, building websites in France.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble