• 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

Leveraging Browser Caching

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 › Leveraging Browser Caching

This topic is: not resolved

Tagged: optimization

  • This topic has 4 replies, 4 voices, and was last updated 11 years, 1 month ago by allieb.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 5, 2014 at 8:46 pm #133768
    Rachelandthecity
    Participant

    I am working on a new website for my mom who is a real estate agent.

    It has a LOT if images. That's what she wants.

    I am now trying to use Google Pagespeed Insights to try and optimize the site.

    One of the recommendations is:

    Leverage browser caching
    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://d1qfrurkpai25r.cloudfront.net/graphical/css/leaflet.css (expiration not specified)
    http://d1qfrurkpai25r.cloudfront.net/…/javascript/maps/plugins/leaflet.draw.js (expiration not specified)
    http://d1qfrurkpai25r.cloudfront.net/graphical/javascript/jqwidx.js (expiration not specified)
    http://d1qfrurkpai25r.cloudfront.net/graphical/javascript/leaflet.js (expiration not specified)

    etc...

    I have installed a the WP fastest cache plugin - but I am unsure how to "Leverage browser caching for the following cacheable resources"

    Can someone please advise?

    http://kathyhurley.com
    December 6, 2014 at 8:03 am #133802
    Victor Font
    Moderator

    You can't leverage browser caching for resources that aren't on your server. Browser caching is a function of the web server you're using (Apache, Nginx, etc.). Unless there's another way to do it of which I'm not aware, the web server config files have to be modified. You don't have access to these resources for third party resources.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 15, 2015 at 10:56 pm #140980
    allieb
    Member

    I am also looking for a way to address Pingdom speed test results:

    "The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources"

    What is the best way to do this?

    February 15, 2015 at 11:32 pm #140983
    coralseait
    Member

    @Rachelandthecity, You're not going to be able to adjust those caching settings, as mentioned they are a function of the hosted scripts / code / resources. For things such as Google libraries, Boostrap, Font Awesome, Leaflet, etc - they're often hosted on extremely fast and highly available CDN repositories and they're purposely set for low cache validations so clients will always grab the latest versions. Nothing for you to fix really, unless you want to move the scripts / resources locally and cache; however, you'll have to update manually with every new release. Not worth it.


    @allieb
    , What sort of hosting environment and caching (if any) are you using? That will dictate the best method to tune. Again, if their external libraries there's basically nothing to do.


    Coral Sea IT

    February 15, 2015 at 11:52 pm #140986
    allieb
    Member

    Wordpress with the Studiopress Eleven40 theme, hosted with BlueHost, low-cost shared hosting.
    Does that answer your question about hosting environment? Am not aware of any caching settings with this theme. Are there?

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

© 2026 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