Sample Header Ad - 728x90

CSS not updating on a `http.server` website

2 votes
2 answers
226 views
I have a website using the Python http.server module and it was working great. Earlier this day I wanted 2 users to work on the same files (HTML, CSS, JS) so I set the chmod tag to 777. The problem is that the CSS content now only updates when starting a new browser session, whereas the HTML content updates every time I refresh the page without any issues. I have tried: - Clearing the browser cache using Ctrl+F5/Shift+F5 - Changing the ownership of the files to a group containing the editor users (using chgrp) - Removing caching in Nginx - Removing caching in Cloudflare If you need any additional info, I'd be happy to provide it.
Asked by TheFrenchTechMan (23 rep)
Feb 24, 2025, 07:21 PM
Last activity: Feb 27, 2025, 11:27 AM