0

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

Bahman Parsa Manesh
  • 2,314
  • 3
  • 16
  • 32
Grey
  • 147
  • 1
  • 2
  • 12
  • 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
  • 4
    Possible 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 Answers1

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 -

https://stackoverflow.com/a/460442/6382913

Pantoflarz
  • 76
  • 7