Skip to content Skip to sidebar Skip to footer

Link A Css File With Version Number For Cache Busting

css-file is named: style.css?v=1 the link inside of html: Contrary to the classic style.css the style.css?v=1 doesn't get recogn

Solution 1:

  • The expression style.css?v=1 for the browser means a dynamic file like "fetch me the file style.css with a parameter named "v" set to 1". As long as you change the value of the v parameter, the file will be fetched as a new unique url.
  • The expression style.css?=v1 has no meaning.
  • The expression style.css?1 could also work.

Post a Comment for "Link A Css File With Version Number For Cache Busting"