3 ms·
Hm. Is it really a "static" website if you have some JS constantly listening for updates?
by cirrus3 4y ago
Hm. Is it really a "static" website if you have some JS constantly listening for updates?
- reustle 4y agoJS isn’t listening for updates, but simply pulling in a static html file filled with comments. document.getElementById('commentlist').innerHTML = xhr.responseText
- cirrus3 4y agoah, ok.. so it just dynamically loads comments on load?
- pontilanda 4y agoStatic as in "the page is pre-generated, not generated on every HTTP request" It's the right setup for write rarely, read often scenarios.