Error Message: There isn’t an error message, but my CSS has @media screen and (max-width: 400px) stuff so the website is responsive but the issue is, the CSS file in the file manager when checked has the media queries, but when the website is loaded, like when I visit the website, it does not work as intended ,as in, it isn’t responsive, when checked in “Inspect Element” the media queries are gone, they are not there in the CSS file, while all the other CSS code is there. When I run the same file locally, it works rightly, so the code is right, just the website for some reason is deleting? the media queries.
You are loading the CSS file from another dir (resources/). Also I see that your website is very well responsive. This is the CSS code i see in the sources tab :
oh ok it worked!!! but the thing is, i had to clear cache from desktop and also from my android phone, and after hard reloading both places, it takes tremondous amount of time to open the page… will that happen for all the people who visits that site?
That is because your machine has to fetch the new files from the server. Because your cache is no more. So it is just normal. Opening the website after clearing your cache will take time to load. After that, it’ll be fast, because the cached version is on your machine.
If they clear their cache or restart their machine, then it will take time to load for the first time, after that again it’ll be fast.
Hope your doubts are cleared now! Feel free to mark my replies are the answer, bye .
wait sorry, can i ask you last thing, i am really confused on this one:
So does this mean, when i make changes on the website anytime, every person visiting the website will have to clear their cache?? cause their browser might have stored the old thingy, like the same bug happened to me lol…
So what can be the solution to this, sorry for asking u again
It shouldn’t be an issue for your users. Anyway, if your client’s browser will fetch the new changes (sometimes) if some changes are pushed from your side. So, it isn’t a problem. Everything will be normal for everyone within 24 hours.