71 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
<!DOCTYPE html>
 | 
						|
<html lang="en-us" dir="ltr">
 | 
						|
<head>
 | 
						|
	<meta name="generator" content="Hugo 0.138.0"><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
 | 
						|
  <meta charset="utf-8" />
 | 
						|
<meta name="viewport" content="width=device-width" />
 | 
						|
<title>
 | 
						|
  Coding with Andrzej
 | 
						|
</title>
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
      <link rel="stylesheet" href="/css/main.css" />
 | 
						|
  
 | 
						|
 | 
						|
      <link rel="stylesheet" href="/css/syntax.css" />
 | 
						|
  
 | 
						|
 | 
						|
      <link rel="stylesheet" href="/css/defaults.css" />
 | 
						|
  
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 
 | 
						|
      <script src="/js/main.js"></script>
 | 
						|
 | 
						|
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
  <header>
 | 
						|
    <a href=http://localhost:1313/><h1>Coding with Andrzej</h1></a>
 | 
						|
 | 
						|
  <nav>
 | 
						|
    <ul>
 | 
						|
    <li>
 | 
						|
      <a href="/">Home</a>
 | 
						|
    </li>
 | 
						|
    <li>
 | 
						|
      <a href="/posts/">Posts</a>
 | 
						|
    </li>
 | 
						|
    <li>
 | 
						|
      <a href="/tags/">Tags</a>
 | 
						|
    </li>
 | 
						|
    </ul>
 | 
						|
  </nav>
 | 
						|
 | 
						|
 | 
						|
  </header>
 | 
						|
  <main>
 | 
						|
    
 | 
						|
  <p>Hello, and welcome to my devlog. This is where I talk about whatever coding I’ve been up to recently. Queries to <a href="mailto:ajsWritesCode@gmail.com">ajsWritesCode@gmail.com</a>.</p>
 | 
						|
 | 
						|
  <h1>Latest...</h1>
 | 
						|
  
 | 
						|
    <h2><a href="/posts/cache-busting/">Invalidating the browser cache</a></h2>
 | 
						|
    <p><strong>I had a bit of an issue with my <a href="https://demos.ajstepien.xyz">website</a> recently.</strong></p>
 | 
						|
<p>I pushed some changes incorporating images for the first time (I know – very swish, very modern), and everything seemed to be working just fine, but when I loaded the production site in Firefox… the images were not styled. Stranger still, they <em>were</em> styled when I loaded the same page in Chrome.</p>
 | 
						|
<p>The experienced computer touchers amongst you will be saying “this is obviously a cache problem”, and you’re right, it is obviously a cache problem. Pressing <code>CTR + SHIFT + R</code> (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the immediate problem for me, on my machine. But what about other people’s machines? <strong>I needed to cache-bust.</strong></p>
 | 
						|
    <a href="/posts/cache-busting/">Read more...</a>
 | 
						|
  
 | 
						|
 | 
						|
  </main>
 | 
						|
  <footer>
 | 
						|
    <p>Copyright 2024. All rights reserved.</p>
 | 
						|
 | 
						|
  </footer>
 | 
						|
</body>
 | 
						|
</html>
 |