3 ms·
I get the point he's making, but when I want to add something as simple as a counter my website already stops being static. The question you have to ask yoursel
by Kenji 12y ago
I get the point he's making, but when I want to add something as simple as a counter my website already stops being static. The question you have to ask yourself: How many static websites are in your "favourite" folder? When I look into it, I have a hard time finding a single one.
- sfeng 12y agoFortunately websites can run javascript now, allowing you to do virtually any dynamic thing you need. Counters in particular are an interesting example, because they were inserted as images into websites long before the idea of a dynamic website was popularized. You can see many of the things you can do just on the client in our apps list: https://eager.io/apps https://eager.io/apps. We don't have a counter in there yet, but it's certainly possible.
- Kenji 12y agoI'm not sure if I don't understand or you don't understand. No, a counter requires (at least) one integer of persistent memory. And if it's not on your server it's on someone else's server. Bottom line, your site stops being static.
- detaro 12y agoThe counter could be loaded in by Javascript. If it's backend becomes overloaded it is the only part of the page that fails. (On the other hand, I don't like using javascript for things that don't need it, so it's not soo clear cut...)