简体   繁体   中英

Force browser to refresh just 1 file

I work on a project where several CSS and JS files are loaded separately onto the page. We use query stings like .css?1234 to force browsers to refresh a file on load.

I have returned to the project to find that one file that needs to be refreshed is not refreshed. I want to refresh one file at a time using the browser inspect element until I find what fixes the issue. Adding query strings to each individual file is not easy in this particular project.

Is there a way to only refresh a single CSS or JS file using the browser inspect element?

尝试删除include标记并重新添加。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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