Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 01-28-2016, 10:18 PM   #1
hdensr
Registered User
 
Join Date: Jan 2016
Posts: 16
hello friends,
I recently became obsessed with optimising this website for maximum speed, trying to get every file as small and minified as possible. One of the things which bugged me was having a rather bulky CSS file. This site was built using Bootstrap mainly because I like the grid system but also because there is a great mobile hamburger menu that works straight out of the box. Even though you can customise Bootstrap by downloading only the components you are going to use, you still end up with some excess CSS. To cut this out you can use a Grunt task called UnCSS which runs through your sites HTML and cuts out any unused CSS rules. The only problem is that it is rather complicated to run this task with WordPress as all the pages are created dynamically with PHP.



Pen Drive With Logo
hdensr is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:43 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.