TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What are the *dynamic* needs for a static site these days?

16 pointsby 12s12malmost 8 years ago
Static sites are getting more popular by the day. What are the <i>dynamic</i> needs of a site that are holding you back from using a static site generator? Things like comments, search are covered by tools like disqus and algolia. I&#x27;d love to see some examples.

10 comments

hanniabualmost 8 years ago
Always wanted to build a SaaS around services meant for static sites. Feel free to take these ideas and run with them since I don&#x27;t believe I&#x27;ll have the time to follow through with these anymore.<p>1. A content suggestion tool where based off of the current content and past content you&#x27;d build an interest profile so you can populate suggestion widgets on the page, while also not recommending articles they have already read before.<p>2. A user option to hide read content. When they read content, the link will be hidden from the site so they don&#x27;t waste time sorting through old content to get to new content. I was planning on pairing this with the option to hide a story that&#x27;s not of interest for the same reasons. All these articles can be viewed again either by turning off this option(provided the developers integrate it) or by viewing a page with all the content that has been hidden(or however the site developers integrate the api to access hidden content).<p>3. A favorites&#x2F;history tool for users on a site. What I had in mind is being able to allow users to favorite content and this will be saved and accessible by the site developers through API to integrate, such as the obvious favorite&#x27;s page.<p>Had a few others but don&#x27;t remember off the top of my head.
marktangotangoalmost 8 years ago
I built a service last year that provided a SQL database over CORS, access control (user login, registration with email confirmation, and password reset via email). Security was over https and user controlled authentication tokens. The idea was to provide toolkit for building dynamic services for static sites. The archetypical use case was comments for static blogs. I built a simple forum that supported user signup, posting topics etc... as a single page app. Excercised the whole thing.<p>I had some interest but acquired no regular users. Email me if you&#x27;d like more info, I&#x27;ll not promote it here.
评论 #14699776 未加载
DamonHDalmost 8 years ago
I have some completely static sites and some completely dynamic ones.<p>Most of my sites are served from my solar-powered RPi2 with boring old Apache 2.2 and various site checkers plaster them with As for technical performance. Very little need for JS. You may of course not like my content, but for me for those sites the answer to your question is &quot;none&quot;.<p>You should see the rant about AMP, trending on the HN front page, to see an example of why more JS is not more bettererorz UX... B^&gt;<p>Declaratory and static for me, where possible.
owebmasteralmost 8 years ago
Some of the dynamic needs also could be static some day. Comments are easy to generate a json everytime, search is a little more difficult.
waibelpalmost 8 years ago
Depends on the usecase. Sites for local stores need opening hours. Having those information as plain html is enough but that can be extended via ajax to show if store is currently open... So no need for dynamically rendered pages serverside.
评论 #14700374 未加载
evincealmost 8 years ago
I would say blogging, whitepapers, product updates are the dynamic things which one can update regular on static sites.
binhqxalmost 8 years ago
sites that are used for adverting may want to show different content based on a users past behavior (new vs returning visitor, for example) it is hard to achieve this in front end javascript without content flashing as one piece of content is replaced with another
iDemonixalmost 8 years ago
A contact form.
评论 #14708759 未加载
eevilspockalmost 8 years ago
Access control (login).
评论 #14699764 未加载
id122015almost 8 years ago
the LIKE button
评论 #14699761 未加载