I'm currently using "Django Compressor" to compress HTML, JS, and CSS files.
These are the filters I use
COMPRESS_FILTERS = {
'css': ['compressor.filters.yuglify.YUglifyCSSFilter'],
'js': ['compressor.filters.yuglify.YUglifyJSFilter']
}
I really like the way it obfuscates my variables in js files. I don't know is it possible to obfuscate class names in CSS files too?
This website can obfuscate css.
The downside is the file size increases. If you want to obfuscate CSS, the file size will increase. Probably, it is the only way