Forums

Updated CSS not reflecting on live site (AnalisiLogicaWeb)

Hi everyone,

I’m running into a really frustrating issue with my site https://analisilogicaweb.it/

I’ve updated my style.css file with new styles and confirmed that the latest version is correctly saved both locally and on my server. However, when I open the website, it still loads the old CSS, even after clearing browser cache and testing on different devices and browsers (Chrome, Firefox).

I also checked using browser dev tools, and it clearly shows that the outdated CSS is still being served. This is confusing because the file on the server is definitely updated.

I’m not sure if this is a caching issue (server-side, CDN, or something else), but I want the site to serve the latest CSS changes immediately.

Has anyone experienced something similar or knows what might be causing this? Any help would be greatly appreciated

Thanks in advance!

Make sure that the file that you are changing is, in fact, the one that is being served on the URL that your page is requesting.

Good point, thanks!

I double-checked this and confirmed that the path referenced in the HTML matches the exact style.css file on the server. I also opened the CSS file directly via its URL in the browser, and strangely, it still shows the old version, even though the file contents on the server are updated.

That’s what’s confusing me — it seems like the correct file path is being used, but something (maybe server-side caching or a proxy) is still serving an older cached version.

Do you think this could be related to caching at the server/CDN level or something specific with deployment?

It looks like the web app you mentioned is not hosted on PythonAnywhere. We can only help you with PythonAnywhere related issues.