如果您查看以下文件的内容:
http://swiftdigital.ltd.uk/wp-content/themes/bigbangwp_child/style.css?ver=4.4
如果您查看相同的文件,但末尾有4.5,则内容不同:
http://swiftdigital.ltd.uk/wp-content/themes/bigbangwp_child/style.css?ver=4.5
服务器上文件的内容是:
/*
Theme Name: BigBangWP Child Theme
Description: Edit style.css, function.php or copy theme original files and customize it on your own
Author: Brankic1979
Template: bigbangwp
*/
@import "css/colors/color-blue.css";
服务器上没有缓存,为什么4.4版会返回文件的旧内容?
您的网站(www.swiftdigital.ltd.uk)使用Cloudflare。默认情况下,Cloudflare将缓存JS文件,这似乎就是这里发生的事情。
清除Cloudflare上的缓存将解决此问题。
https://support.cloudflare.com/hc/en-us/articles/200169246-How-do-I-purge-my-cache-