Skip to content

Commit

Permalink
cache bust
Browse files Browse the repository at this point in the history
  • Loading branch information
erinnmclaughlin committed May 4, 2024
1 parent d45f1b2 commit 14b1801
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Site/Components/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<base href="/" />
<title>erinnmclaughlin</title>
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="Site.styles.css" />
<link rel="stylesheet" href="app.css?v=@cacheBust" />
<link rel="stylesheet" href="Site.styles.css?v=@cacheBust" />
<link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet />
</head>
Expand All @@ -19,3 +19,7 @@
</body>

</html>

@code{
private readonly Guid cacheBust = Guid.NewGuid();
}

0 comments on commit 14b1801

Please sign in to comment.