4 ms·
De-duplication, or rather, not duplicating in the first place. Perfectionist requirement :)
by iam-TJ 4y ago
De-duplication, or rather, not duplicating in the first place. Perfectionist requirement :)
- pdpi 4y agoThe problem with perfectionism is that it makes you optimise for one metric at the exclusion of all else. Here, the price you pay for avoiding duplication is having to do extra work at run time. The fact that you need to do any work at all in user space also blocks you from using zero-copy IO.
- onion2k 4y agoDe-duplication, or rather, not duplicating in the first place. Perfectionist requirement :) I refuse to accept that a perfectionist would use Apache.
- delfinom 4y agoOr you know, spend the extra $0.001 on the storage to let it be duplicated and move on with your life. De-duplication here has zero net benefits unless you are talking a static site generator here where you somehow have tens of billions of pages to make the storage cost prohibitive You are also killing the environment by pissing power away on each request that could have been preprocessed and served indefinitely.
- Sohcahtoa82 4y agoYou're talking about de-duplicating HTML. Unless you've got literally millions of pages, you're probably talking about wasting a few megabytes at the most. You're adding the complication of using SSI for no real reason beyond "I just want it that way."