Feature Suggestion | PurgeCSS - Remove unused CSS #1354

Open
opened 2019-09-28 03:48:54 +00:00 by dawidpotocki · 1 comment
dawidpotocki commented 2019-09-28 03:48:54 +00:00 (Migrated from github.com)

PurgeCSS is a tool, which looks at HTML files and removes unused CSS.

Why? Because our CSS files are bloated. According to PageSpeed Insights
https://developers.google.com/speed/pagespeed/insights/?url=privacytools.io
our CSS is 46KB and could be reduced by 44KB, surely, that's not going to be
that much, but still, there will be a difference.

Unused CSS is going to be only removed in production environment, to not
make development harder.

PurgeCSS is a tool, which looks at HTML files and removes unused CSS. Why? Because our CSS files are bloated. According to PageSpeed Insights https://developers.google.com/speed/pagespeed/insights/?url=privacytools.io our CSS is 46KB and could be reduced by 44KB, surely, that's not going to be that much, but still, there will be a difference. Unused CSS is going to be only removed in production environment, to not make development harder.
nitrohorse commented 2019-09-28 04:30:55 +00:00 (Migrated from github.com)

Great idea, I love deleting code! 😄

Great idea, I love deleting code! :smile:
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: privacyguides/privacytools.io#1354
No description provided.