首页 > 解决方案 > CSS file only updating on renaming on Apache server

问题描述

I have been trying to do some changes to my CSS, but it seems like the CSS files don't update. Already tried clearing browser cache and disabling server cache with .htaccess

However, they only update when I change my file name to something new with additional changes. Like renaming app.css to app1.css updates the file, but to make more changes I have to rename again to something like app.css or app2.css with more additional changes. I have tried to create a new CSS file and to embed it, but that didn't work as well.

Anyone faced something similar or know what might be causing it? Any help will be appreciated.

标签: cssapachecachingserverweb-development-server

解决方案


推荐阅读