title: Caching issue with Apache; css and html not updating
body: <p>I've recently setup a vps on Ubuntu 20.04 to host a single website amongst other non-apache related things. I've been attempting to work on my site but it seems that the files are being cached. For instance, I can still access the webpage and stylesheet even though its been deleted. Thus far I've spent a couple hours searching for a solution to this. I've looked through <a href="https://stackoverflow.com/questions/12115096/apache-wont-update-html-but-its-not-the-usual-fix">here</a>, <a href="https://ubuntuforums.org/showthread.php?t=2192047" rel="nofollow noreferrer">this</a> and <a href="https://www.mnot.net/cache_docs/" rel="nofollow noreferrer">this</a>. I've also tried the suggestion of one place in adding to my .htaccess as follows:</p>
  <pre><code>#Initialize mod_rewrite
  RewriteEngine On
  &lt;FilesMatch &quot;\.(html|htm|js|css)$&quot;&gt;
    FileETag None
    &lt;IfModule mod_headers.c&gt;
      Header unset ETag
      Header set Cache-Control &quot;max-age=0, no-cache, no-store, must-revalidate&quot;
      Header set Pragma &quot;no-cache&quot;
      Header set Expires &quot;Wed, 12 Jan 1980 05:00:00 GMT&quot;
    &lt;/IfModule&gt;
  &lt;/FilesMatch&gt;
  </code></pre>
  <p>After adding that, restarting apache but still with no success. I've found other posts seemingly with the same issue as me which talk about editing 000-default.conf but I lack the technical understanding of apache to be able to make informed choices on editing things like that out of fear of breaking something.</p>
  <p>I believe that apache caching is my issue but I could well be wrong. I can't think of what else it would be though. I think this is an issue I've had in the past but I don't remember the solution. Thanks for any help</p>