Not able to see CSS changes

@clay

I had two different sites I was messing around with. The first one I must have created in Preferred mode since I did see the Dev Mode option. Then I read a ticket that said to try “Custom” and created a new site using the same settings you wrote earlier in this thread.

I actually tried switching between nginx and Apache but that didn’t seem to do anything.

I don’t remember if I restarted the site or not after I downgraded. I probably did.

I can try to replicate exactly what I did sometime later if that would be helpful, but probably won’t have a chance to mess with it til the weekend.

I had to create an account, to like this and say thanks lol
This fixed my problem thanks man :+1:

1 Like

I Spoke too soon, issue started happening again, just a little less frequent.
However I came across this posts: https://www.technipages.com/google-chrome-how-to-completely-disable-cache
Simply undock the inspector tool, and minimize it after disabling cache.

Working great for me, seeing I use the inspector tool a lot.

I Hope this helps someone one.

1 Like

Having the same problem as other mentioned above. I’ve tried every conceivable configuration, stopped all caching with Chrome, etc. and I still have to play with it over and over to get my CSS to finally show up.

I’m a developer in training right now and it is crippling my forward movement in learning. Please do a bug fix soon, very soon. I spend hours trying to see what I’ve done wrong in my code with, after numerous tries and dumping my caches, I still can’t get my CSS to work properly. At least I know there is a bug, but it doesn’t help me get my required tutorials looking right. This started with the last update.

Using Mac OS Sierra 10.12.6, Chrome 59.0.3071.115 Anything else you need to know I’ll be glad to supply.

Sadaajit,

Sorry for the trouble!

Are you using the Preferred environment or the Custom environment? If you’re using Preferred you may want to try exporting the site and reimporting it using the Custom environment.

Hi Clay,

Sorry for the delayed response. It is happening in both the preferred anybody custom environments. I have developed sites using both and they both have problems if I change the CSS.

@Sadaajit,

Which web server do you have selected? nginx or Apache?

I am having problems with CSS refreshing as well. I have tried both nginx and apache, I have tried different versions of MySQL and PHP and still no go. Works fine inside of MAMP though.

Is there a fix?

I’m not sure if this will help in this situation but the last few iterations of Chrome have some pretty insane caching going on. Invariably I will be working and it’s Chrome that is caching the sites.

I had to install this Cache Killer Chrome extension (along with remembering to turn it on) to avoid these problems in Chrome: https://chrome.google.com/webstore/detail/cache-killer/jpfbieopdmepaolggioebjmedmclkbap

It happens to me in Firefox, Safari and Chrome :frowning:

@squarepixel,

Have you tried holding Shift and refreshing? Local has browser caching headers on files by default. I don’t believe MAMP does.

I have. I even tried incognito.

@squarepixel,

If you’re on macOS, please go to Preferences » Advanced and disable “Faster Docker Volumes”.

Then, edit a CSS file again and see if you can see the change.

That seems to have done it. Thank you.

Glad to hear it helped!

We’re going to be improving “Faster Docker Volumes” in an upcoming release.

Clearing the cache worked, but for only one change. And now, not at all even with clearing the cache again. Can I change the setting on my site to ngnix, PHP7.03, MySQL 5.5? Or do I need to start over?

Hi @darenjm,

There’s no need to start over!

Are you on macOS or Windows? Also, when setting up the site did you use “Preferred” or “Custom”?

I had the same problem, spent whole day fixing it, cloning and deleting project over and over.

After switching from ngnix to Apache it seems to be working. No server side caching for now.

I started having this problem with a new site created with Local 2.0.6 (PHP 7.1.4, nginx, MySQL 5.5.55) and turning off Faster Docker Volumes in Preferences > Advanced and restarting the site fixed the issue. I don’t know what “Faster Docker Volumes” means