简体   繁体   English

如何强制浏览器显示对 CSS 文件的最新更改?

[英]How to force a browser to show the latest changes to a CSS file?

I made some changes on a CSS file on a PHP site.我对 PHP 站点上的 CSS 文件进行了一些更改。

The changes do not show up in any browser I test it on until I hold down the CTRL key and click the browser's REFRESH button.更改不会显示在我测试它的任何浏览器中,直到我按住CTRL键并单击浏览器的REFRESH按钮。

This means that most users are not going to seem the changes I made.这意味着大多数用户不会看到我所做的更改。

How can I force browsers to show the changes to CSS files immediately (without renaming the CSS file)?如何强制浏览器立即显示对 CSS 文件的更改(无需重命名 CSS 文件)?

I made some changes on a CSS file on a PHP site.我对 PHP 站点上的 CSS 文件进行了一些更改。

The changes do not show up in any browser I test it on until I hold down the CTRL key and click the browser's REFRESH button.更改不会显示在我测试它的任何浏览器中,直到我按住CTRL键并单击浏览器的REFRESH按钮。

This means that most users are not going to seem the changes I made.这意味着大多数用户不会看到我所做的更改。

How can I force browsers to show the changes to CSS files immediately (without renaming the CSS file)?如何强制浏览器立即显示对 CSS 文件的更改(无需重命名 CSS 文件)?

I made some changes on a CSS file on a PHP site.我对 PHP 站点上的 CSS 文件进行了一些更改。

The changes do not show up in any browser I test it on until I hold down the CTRL key and click the browser's REFRESH button.更改不会显示在我测试它的任何浏览器中,直到我按住CTRL键并单击浏览器的REFRESH按钮。

This means that most users are not going to seem the changes I made.这意味着大多数用户不会看到我所做的更改。

How can I force browsers to show the changes to CSS files immediately (without renaming the CSS file)?如何强制浏览器立即显示对 CSS 文件的更改(无需重命名 CSS 文件)?

I made some changes on a CSS file on a PHP site.我对 PHP 站点上的 CSS 文件进行了一些更改。

The changes do not show up in any browser I test it on until I hold down the CTRL key and click the browser's REFRESH button.更改不会显示在我测试它的任何浏览器中,直到我按住CTRL键并单击浏览器的REFRESH按钮。

This means that most users are not going to seem the changes I made.这意味着大多数用户不会看到我所做的更改。

How can I force browsers to show the changes to CSS files immediately (without renaming the CSS file)?如何强制浏览器立即显示对 CSS 文件的更改(无需重命名 CSS 文件)?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM