Designer News
Where the design community meets.
over 5 years ago from Richard Sison, Interaction Designer, Dabbler in Front-end Code and Stickler for Good Microcopy.
Hey Josh!
Thanks for reaching out and those tips! I've saved them in my backlog for performance.
But I'll be honest, this level of development goes way over my head!
My build process is literally what Codekit gives me and I didn't even use the "Build Project" functionality until this morning when I read your comment! It was just something I'd kept putting off…
But even that is going to make things much easier to manage my site as it abstracts only the files I need to upload; not the SCSS too (up until now I've just been cherry-picking the HTML and CSS files individually …like a noob.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
If you're not already think about utilizing Cloudflare. They provide some really great caching out of the box.
You will need to fingerprint your asset files, and that might require you to expand your current build process.
But another big thing you could do is pull in uncss into your build process. It will scan your HTML files and remove any unused css rules from your stylesheet prior to minification.
It isn't webpack, which is probably what you should be using for new projects, but I have a prebuilt gulpfile for doing just that - as well as fingerprinting. If you're interested let me know and I'll throw it in a gist for you!