在整个ASP.NET应用程序中将CSS定义加扰到人类无法理解的状态的最佳方法 [英] The best approach to scramble CSS definitions to a human-unreadable state throughout an ASP.NET application
问题描述
我不确定是否会通过删除长词名称来带来节省流量以外的其他功能,但是我绝对想隐藏我的命名,声明及其组织系统.
问题是手动的查找与替换"将花费很长时间,并且每一次细微的修改都可能需要部分或全部重做该过程.
有人想到过这个问题吗?也许写一个宏?是否足够智能,能够发现CSS文件中的名称?有没有更好,更简单的东西?
您可能要尝试使用YUI Compressor:
http://developer.yahoo.com/yui/compressor/ >
I'm not sure if it will bring anything beyond saving on traffic through the removal of long-worded names, but I would definitely want to hide my system of namings, declarations and their organization.
The thing is that manual Find&Replace is going to take a very long time, and each slight modification could probably require the process to be redone in part or in whole.
Has anyone thought of this problem? Maybe write a macros? Will it be intelligent enough to be able to discover names in a CSS file? Does anything better and simplier exist?
You might want to try YUI Compressor:
http://developer.yahoo.com/yui/compressor/
这篇关于在整个ASP.NET应用程序中将CSS定义加扰到人类无法理解的状态的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!