I have an issue. I'm currently using bootsrap version 4.1.2 on xampp. The problem is everytime i make a change to the bootstrap.css file, i need to clear my browser data before i can see those changes. If i dont clear it, the design will look the same as before. Thanks
Asked
Active
Viewed 67 times
0
-
That's normal, as CSS is cached by the browser to reduce load. Do a hard-reload and you should be able to see the changes immediately. – Qirel Jul 22 '18 at 18:37
-
1@Grey take a look at this question : https://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development – Bahman Parsa Manesh Jul 22 '18 at 18:38
-
4Possible duplicate of [Disabling Chrome cache for website development](https://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development) – Dejan.S Jul 22 '18 at 19:04
1 Answers
0
This has nothing to do with PHP.
This is a simple case of caching, which the browser performs to speed up load time.
This can be prevented, amongst all other ways, by using this example -

Pantoflarz
- 76
- 7