DEV Community

Discussion on: Using Netlify to the Fullest

Collapse
richiksc profile image
Richik SC

The date information should be rendered client side to not have to build your site every day.

Collapse
rixcy profile image
Rick Booth

Static sites will usually outperform sites with heavy client side rendering, especially on mobile devices as they seem to hate JavaScript :D

Collapse
richiksc profile image
Richik SC

I fully agree, but rendering relative dates client side isn't exactly heavy client side rendering. You could even defer the script until the site has finished loading, and you wouldn't need a framework or library

Collapse
remotesynth profile image
Brian Rinaldi Author

I could do that but the randomization of the featured items requires it as well anyway.