简体   繁体   English

在生产服务器中重命名CSS文件

[英]Renaming css file in production server

I am just curious why some website rename their css file name to a very long name. 我很好奇为什么有些网站将其CSS文件名重命名为一个很长的名字。 For example, I inspect the source code of the link: https://kippt.com/ 例如,我检查了链接的源代码: https : //kippt.com/

and their css filename is very long. 并且他们的CSS文件名非常长。 As my understanding, the company is using twitter bootstrap as their web UI framework. 据我了解,该公司正在使用twitter bootstrap作为其Web UI框架。

I am just wondering is there a benefit to rename the css file? 我只是想知道重命名CSS文件有好处吗? If it does, can anyone tell me what's the proper way to do that? 如果可以,谁能告诉我这样做的正确方法是什么?

Sorry for this dumb question. 很抱歉这个愚蠢的问题。 I am very new to web development and would like to know more about this. 我是Web开发的新手,并想进一步了解这一点。

Thanks. 谢谢。

sometimes the CSS file is dynamically generated and then that name is used (inserted) to the page. 有时会动态生成CSS文件,然后将该名称使用(插入)到页面中。 was this a "portal" page or template site? 这是“门户”页面还是模板网站?

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

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