Question

CSS not updating on live server but works on development environment

Usually, some images are cached. My Yii app has some caching but not usually for CSS that I know of. I made the CSS changes and could see the changes take effect on my local development environment but not on live server. I attached two photos of development environment that has the black font and updated navigation bar and the live site that is CSS changes aren’t taking effect with the black font and the navigation bar. All I know what to do is wait and hope that it’s changes take effect. I’m running Apache PHP MySQL and am the developer but didn’t install the server and don’t know what settings are on it to make the changes.

Subscribe
Share

First add css files to the server and then check it.

most of the people are not aware of how to publish items in iis.

Make sure everything is working finr.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The first thing I would check is if the site is using a caching proxy service like CloudFlare. This would be set up in the domain’s nameserver settings with the registrar. If a service like this is being used, changes will not appear until the current cache has expired.

Another possibility is that your ISP is doing some caching of their own and is maintaining a cached copy of the old content.

The first thing I would check is if the site is using a caching proxy service like CloudFlare. This would be set up in the domain’s nameserver settings with the registrar. If a service like this is being used, changes will not appear until the current cache has expired.

Another possibility is that your ISP is doing some caching of their own and is maintaining a cached copy of the old content.

Thanks ! yep it was cloudflare

Thank you! That was it. I use CloudFlare and they were caching my CSS. I found they have a ‘developer mode’ that temporarily turns this off. Problem solved.