Copied to clipboard

Flag this post as spam?

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


  • Julius Goddard 41 posts 152 karma points
    Oct 04, 2024 @ 10:34
    Julius Goddard
    0

    Assets Folder Does Not Update When Replaced

    I am running an Umbraco 13 project.

    It consists of one web page.

    The stylesheets for this web page are being served from the assets folder in the wwwroot folder.

    I updated the styles.

    I deleted the assets folder and replaced it with a new one with different styles.

    The old styles are still displaying on the web page.

    How can the web page be displaying the old styles if I deleted the assets folder and replaced it? Is the old one still lurking around somewhere? If so, how do you delete it and use the new version of the assets folder?

    Thanks.

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Oct 04, 2024 @ 15:31
    Nik
    0

    Hi Julius,

    How, in your front end markup, are you calling the style sheet? Are you using the Smidge bundler?

    If you are, the Smidge Bundler might be caching the file.

    Thanks

    Nik

  • Julius Goddard 41 posts 152 karma points
    Oct 07, 2024 @ 07:02
    Julius Goddard
    0

    Hi Nik,

    I am using gulp as the bundler.

    Could this be caching the file too?

Please Sign in or register to post replies

Write your reply to:

Draft