Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bundling and minifying the font awesome css. in mvc 4

I am trying to minify the font awesome.css but when i minimize it shows the different junk characters for content like :

{ content: "\f048"; }

above are content icons like up arrow etc....

What are the option to overcome this problem?

Thanks

like image 623
user1977381 Avatar asked Jan 14 '13 13:01

user1977381


People also ask

What is minification and bundling in MVC?

Bundling and Minification are two performance improvement techniques that improves the request load time of the application. Most of the current major browsers limit the number of simultaneous connections per hostname to six. It means that at a time, all the additional requests will be queued by the browser.

What bundling allows in MVC?

Bundling and minification techniques were introduced in MVC 4 to improve request load time. Bundling allows us to load the bunch of static files from the server in a single HTTP request. In the above figure, the browser sends two separate requests to load two different JavaScript file MyJavaScriptFile-1.

What is the use of bundling and minification?

Bundling and minification are two techniques you can use in ASP.NET 4.5 to improve request load time. Bundling and minification improves load time by reducing the number of requests to the server and reducing the size of requested assets (such as CSS and JavaScript.)


1 Answers

Maybe I'm mis-understanding what you're asking, but those aren't junk characters. Those are the Unicode code points that Font Awesome uses (specifically the Private Use Area). They absolutely should be in your minified CSS. Or you can use the minified CSS that comes with Font Awesome.

like image 121
Font Awesome Avatar answered Sep 30 '22 20:09

Font Awesome