I am facing this problem for awhile now please help me solve it.
It’s literally driving me crazy now i haven’t slept for 23 hours!! Some magic has happened with my project or a GHOST HAS POSESSED MY SERVER!
Please consider the following SS:
see CSS file connected to this php file
It’s not working…. if i EDIT OR ERASE THIS CSS FILE NOTHING HAPPENS!!
Even if i DELETE THE CSS FOLDER FROM MY COMPUTER IT STILL EXISTS!! Consider this screenshot, where i have deleted CSS folder: CSS folder deleted
It still has effect EVEN IT CAN BE SEEN IN DEV TOOLS: still shown in developerTools
The only thing that effects it is if I un-link it from the project as shown in this ss: CSS file unlinked
Note: I have tried restarting my server and re-opening my project.
2
Answers
Check network its disk or memory cached, you can disable cache from network tab
OR
you can add a query parameter in your css link like this:
when you’ll push any new change then just simply change the query parameter for example next time you’ll do it like this:
The browser’s caching algo is storing your file to speed up the process. You’ll have to renew the reference link after any changes so the browser will not render cached file.
here is an example:
In your case it will look like this:
I hope, this will clear the confusion.