From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 12 Oct 2016 13:22:34 +0200 Subject: RFC: don't cache objects larger than X In-Reply-To: <20161010140312.GB2142@gmail.com> References: <20161010140312.GB2142@gmail.com> Message-ID: I face this same problem, in fact. Unless somebody beats me to it, I'd be interested in giving this a stab. One issue is that cache entries are currently "streamed" into the cache files, as they're produced. It's not trivially possible to know how big it's going to be beforehand. This means that the best we could do would be to just immediately unlink it after creation and printing. Would this be acceptable? Regards, Jason