4 ms·
JavaScript free Static sites are great for many reasons: * Nothing to hack except the webserver * Fewer moving parts to break * Fast loading * Cachable * N
by literallyaduck 5y ago
JavaScript free Static sites are great for many reasons:
* Nothing to hack except the webserver
* Fewer moving parts to break
* Fast loading
* Cachable
* No Flash of unstyled content or other client rendering anomalies which people code around
* SEO crawling without JavaScript
Edit:
Javascript free static sites.
- pwdisswordfish8 5y ago"Static sites" usually refer to a websites where the server is not servicing application requests because all resources are flat files precomputed ahead of time, not websites with no JS. Basically what you can get by opening files directly from disk. A site consisting of index.html and the gnarliest 10+ MB app.js bundle would still be considered a static site. Similarly, flash of unstyled content is a completely orthogonal issue. (In fact, FOUC is arguably most likely to be encountered on static sites, because the hosts they're on are usually chosen because they offer cheap/simple setup. So neither server performance nor the speed of rendering on the client for the HTML+CSS combo that the author goes with are necessarily given much attention.)