Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesper Skjønnemand 66 posts 441 karma points c-trib
    Nov 21, 2023 @ 14:01
    Jesper Skjønnemand
    0

    Cache TTL

    Google Lighthouse suggest I "Serve static assets with an efficient cache policy". Cache TTL seems to be 4 hours (14,400 seconds) for js, css, and svg files, and 7 days (604,800 seconds) for jpg files.

    I (think I) would like to increase the lifetime of js and css files to something like 30 days (2,592,000 seconds).

    Two questions:

    1. How can I set this up on an Umbraco Cloud 8 site?

    2. Can I "bust" the cache by adding version numbers to css requests, something like styles.css?v=1234 ?

    I have read this https://docs.umbraco.com/umbraco-cloud/set-up/project-settings/manage-cdn-caching but don't quite "get it".

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies