No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to disable hashing on filenames

    Help
    2
    2
    662
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      UsuarioNoobQ last edited by

      Hi guys, I’m trying to remove the hash generated in filenames with the command quasar build.

      7acd05cb-367e-4226-97a0-0007373ebdc5-image.png

      And what are those three first files. I need those three files names to be static because I need to reference those files on _LayOut.cshtml (Asp .Net Core) and i dont want to change them every time i build my project

      Sorry for my broken english, I’m spanish speaker.

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        All those files are .js files but for some reason your view of them isn’t showing the file extension. Try turning on file extension names.

        I’d suggest you find a different approach to go about your referencing the files. Otherwise you will be losing cache busting capabilities, meaning your users will not be getting newer versions of your app, when you rebuild and publish it.

        I’m personally not sure what setting or settings are necessary, but it is Webpack doing the file name hashing/ cache busting.

        https://webpack.js.org/guides/caching/

        And you can control webpack in Quasar through the quasar.conf.js file.

        https://quasar.dev/quasar-cli/cli-documentation/handling-webpack

        Scott

        1 Reply Last reply Reply Quote 1
        • First post
          Last post