Online Web Development tools. All free, all provide an API. Simple Quick and Fast!
Before giving you an update on what has changed, I owe you an apology. CSS Minifier has not been very well recently due to a huge number of invalid minifications being sent to us. Those minifications were making the node process race (to 100% CPU) and stayed there making the server unresponsive.
It's my job to keep CSS Minifier running as best I can for you. Yes, I know it's a free service, but it's my responsibility to keep your expectations high and I haven't been doing that. I wish that we can keep serving you as quickly, as consistently, and as small (minified) as possible.
Here's some background on what has been happening...
Over the past three years or so, we've noticed that not only are we increasing how many minification requests we see,
but also a huge increase on the number of invalid minifications received. Sometimes the CSS is invalid and we should be
able to deal with that, but sometimes we see either HTML or JavaScript being sent to us! Sometimes this causes the
clean-css
program to fail (which is natural) but in other cases cause it to spin up to 100% CPU and stay there,
rendering the server pretty unresponsive.
Over the years I've tried doing things like nice
ing the process or killing it after 15 seconds (since all
minifications should really be finished in that time). However, these haven't worked out as expected and haven't help
stabilise things. Other things I fixed early on were things like the server running out of disk space having kept all
of the uploaded and minified files.
So whilst various measures have made the service better here and there, none have fixed it completely. I'm loathe to tell you I've fixed it all now but it is looking a lot more stable than it has for quite a while.
So let's look at some of the recent improvements for the minifier itself:
Other things recently improved (amongst others):
Some upcoming improvements we're making this year are as follows:
https
proxy, mainly for LetsEncrypt/CertBot stabilityAs you can see, we're still imrpoving CSS Minifier and as a result many of these improvements will also trickle across to our other services such as JavaScript Minifier, PNG Crush, JPG Optimiser, Image Resize, and HTML Minifier.
And finally, I'd like to ask you a favour. CSS Minifier has 100,000 page views per month and performs anywhere between a few thousand and ten thousand minifications per day. On it's busiest day there were 24,590 minifications, whether invalid, valid, empty, small, medium, or large. It's a free service and has been this way since 2010.
My question is, what do you think I should do to support it best from a financial point of view. I'd love to be able to get at least something back for my expenses, but also for my time and effort involved in running it. Would you support it by doing any or all of the following, or something else altogether:
Please tweet at me @andychilton or email me at andychilton at gmail dot com.
Many thanks, and thanks for your understanding, patience, input, and help.
(Ends)
Tags: site-update bug-fixes
Posted: 4 years ago
all (1) css-minifier (9) img-resize (1) javascript-minifier (4) pngcrush (1) postbin (1)
bug-fixes (1) clean-css (3) css (3) design (1) django (1) es2015 (1) es2016 (1) es2017 (1) es2018 (1) examples (2) image (1) javascript (1) leveldb (1) mongodb (1) npm (1) plugin (1) pngcrush (1) resize (1) seo (1) site (2) site-update (11) tailwindcss (1) uglify-js (1)