3 ms·
Is it easier to add the cache or not add the cache? If it's the second one and you do it anyway, it's premature optimization. Like the OP says, this may obscu
by jrockway 17y ago
Is it easier to add the cache or not add the cache? If it's the second one and you do it anyway, it's premature optimization.
Like the OP says, this may obscure other problems that you can fix with less effort. You want a simple system that is good, not a complex system that is "good enough". You can add complexity later, but it's very hard to remove. So be careful about that.
If all of your sites follow some similar pattern, then you aren't doing the optimization, your framework is. And that's fine; presumably you already tested the framework and didn't introduce any unnecessary complexity.