Hi,
I am using a caching plugins like wp-rocket and have some cache on server-level.
There is a issue, everytime I save the theme settings, the css is break for the cached page and I need to clear all caching. I know it more have more logic to clear cache after change theme settings but I dont want to for every change I do.
I checked why it is happening, and found that everytime I am saving the theme settings, it remove the css file and create another one with the new timestamp. I think the best solution is just to rewrite same file and just add query string of the timestamp ?t=XXX instead of the whole file name.