Sandip Swain
Sandip Swain

Reputation: 433

css changes doesnt reflect on my project on localhost

I am doing a Blog Post project in Flask. While I am designing my project through CSS it seems to not reflect while running on the localhost. And while executing the files it shows:-

Upvotes: 0

Views: 1556

Answers (1)

furas
furas

Reputation: 142661

Sometimes web browser may keep old version in cache and you may need turn off cache in web browser, or clear it, or try Ctrl+F5 to reload without using cache.

Or you can add random argument with ? to url - ie, /static/main.css?2020.08.11.08:45 and web browser will treat it as new url so it will read it from server.

In DevTool in Firefox/Chrome in tab Network you can check if it has no problem to load this file. It should show also if it was readed from cache.

Upvotes: 2

Related Questions