Copied to clipboard

Flag this post as spam?

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


  • louisjrdev 11 posts 84 karma points
    Nov 08, 2021 @ 19:53
    louisjrdev
    0

    Cache static assets V9

    How can I cache the static assets of umbraco's wwwroot folder in v9 before, this would have been done in the web.config. StackOverflow has some answers for .net core, but this does not work with v9 https://stackoverflow.com/questions/57254048/how-to-cache-static-files-in-asp-net-core

  • Corné Hoskam 81 posts 588 karma points MVP 3x c-trib
    Nov 09, 2021 @ 07:55
    Corné Hoskam
    0

    Hi Louisjrdev,

    I have found the following forum thread that might be of use to you for adding Cache-Control Headers!

    https://our.umbraco.com/forum/umbraco-9/107501-add-cache-control-header-for-static-files-starjs-starcss-starwoff2-etc#comment-334432

    Kind regards,

    Corné Hoskam

  • 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