Re: Intelligent caching

2014-02-20 Thread Lukas Fleischer
On Thu, 06 Feb 2014 at 20:55:14, Jason A. Donenfeld wrote: > This could be clever, if it's done properly. It'd have to be something > along the lines of "this page won't ever change, unless you can create an > sha1 hash collision", and we'd have to be certain that such pages then only > use informa

Re: Intelligent caching

2014-02-06 Thread Jason A. Donenfeld
This could be clever, if it's done properly. It'd have to be something along the lines of "this page won't ever change, unless you can create an sha1 hash collision", and we'd have to be certain that such pages then only use information out of that sha1 object, and not additional related objects th

Intelligent caching

2014-02-05 Thread Lukas Fleischer
Hi, Reading through our caching code, I wondered why we don't make it a bit more clever. For every dynamically created page, we could just store a fingerprint that can be computed quite fast and indicates whether the cache slot is still up-to-date or not. For example, on the log pages, we could s