koodilehto/koodilehto-site

Optimize widgets

Opened this issue · 0 comments

Currently various widgets (RSS, Twitter, GitHub) are quite slow on the initial run (results are cached locally for an hour). Change this so that the server fetches the data needed once per hour (cronjob) and then renders the results statically.

Note that this change requires us to host the site ourselves.