Hacker News new | ask | show | jobs
by bthallplz 2178 days ago
> New search results are calculated on Tuesday of each week. Nothing new is created during Shabbat. You are served static cached data.

I've been interested in the idea of having a user-facing website that generates static copies of its dynamic content on a set schedule. Do any of you have more examples of this?

About this particular search engine, though, the search results I received from it either were not very relevant or the service did not display information that made them seem relevant (such as a snippet of text from the page — it did this occasionally but not always).

4 comments

Frozen-Flask freezes a dynamic Flask app into a static site.

https://pythonhosted.org/Frozen-Flask/

Thanks! It looks like django-bakery also does something similar for Django: https://github.com/datadesk/django-bakery
I've been interested in the idea of having a user-facing website that generates static copies of its dynamic content on a set schedule. Do any of you have more examples of this?

You can do this relatively easily using Github actions. For example, https://oliverjam.es/blog/schedule-netlify-github-actions/

It's rather common for blogs to be rebuilt on updates and served as static files.
Check out the JAMstack. We have been experimenting with this for everything from ecommerce to blogs...

https://jamstack.org/