News for hackers. Stuff that matters.
Re:Static Sites with Elasticsearch by turnipla on Saturday May 02, 2020 @04:00PM (#23054460)
You’re confusing static with serverless.

Your content is indeed static but your search is not: It’s handled by a service that parses your requests and produces output.

Static content on the other hand are files being served straight from the filesystem.

As for Disqus, they’re not static either, they’re just “a service for static websites”

Re:Static Sites with Elasticsearch by amitaibu on Saturday May 02, 2020 @04:05PM (#23054503)
@turnipla Indeed, the Elasticsearch is completely a typical request - response kind. However, the point in the post was showing how we could make sure the search is in full sync with static site - even if we for example rolled-back deploys. That is, even if we rollback to a revision with less content than what we have in the "default" index, search will not show it to us.