Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Status Shipped
Categories Technical
Created by Guest
Created on Nov 3, 2021

Spire Font missing Cache TTL

The spire getFont call has a zero cache TTL, even though the rest of the hosted items for spire under /dist (ie, public js file from webpack) has a TTL set. Could you please increase this to at least a couple hours, so that a visitor isn’t repeatedly downloading the same file. While most browsers probably have caching enabled, the TTL is set to NONE on the file. In reality it also probably isn't realistically multi-downloaded for actual users b/c of the SPA nature of the application, but having it show up on GTmetrix and lighthouse constantly as a problem also makes our clients upset. Bots like Google probably are counting it as a problem with core vital calculations. That extra 250+ms hurts, especially when our TTFB numbers are over a second.

This was originally reported on ticket 7936605 as a Bug and I was asked to also report it here.

  • Optimizely
    Lee Anderson
    Reply
    |
    Jan 25, 2023

    Caching Header was added for this in the 5.1.2202 release.

  • Guest
    Reply
    |
    Jan 19, 2023

    Do we have an update on this, or is there already a solution for this?
    I'm currently struggling with the same issue.

  • Guest
    Reply
    |
    Nov 4, 2021

    Even better yet, Why even have these calls? Allow the font CSS to be inline in the head, will speed up the page load. Would save 4 HTTP requests on the site I'm looking at now.