Page 1 of 1

How to completely disable cache on page refresh

PostPosted: 10. June 2021 03:42
by Xuzo
I'm trying to develop with Wordpress and Drupal.

But when I make changes to files (Php, CSS, HTML), I can't see them in the browser until about a minute...

Did hard refresh, disabled all cache in FFox with about:config, tried with Canary, chrome etc...nothing works.

I want to be able to make changes to files, and then hit refresh in the browser and see my work, is this even possible with Xampp?

Re: How to completely disable cache on page refresh

PostPosted: 10. June 2021 11:27
by Altrea
By default XAMPP components do not cache.
Your browser maybe caches, but you have already checked that.
So the most common place where your request is cached is by your application.
Try to find out how to work with application caching in wordpress and drupal.

Re: How to completely disable cache on page refresh

PostPosted: 23. June 2021 09:50
by Eaglin
Try with your code, put code for webpage load with clear cache may be its work!

Re: How to completely disable cache on page refresh

PostPosted: 24. June 2021 19:53
by DraGox85
Xuzo wrote:I'm trying to develop with Wordpress and Drupal.

But when I make changes to files (Php, CSS, HTML), I can't see them in the browser until about a minute...

Did hard refresh, disabled all cache in FFox with about:config, tried with Canary, chrome etc...nothing works.

I want to be able to make changes to files, and then hit refresh in the browser and see my work, is this even possible with Xampp?


I have this problem too mate, to solve it, just delete cache, once you do it, you will not have problems again while working in the same session, if you close the browser, in my case, I have to repeat the same process of deleting cache...