theunitedeffort / theunitedeffort.org

The United Effort Organization website
https://theunitedeffort.org
3 stars 5 forks source link

Migrate from eleventy serverless to eleventy edge #191

Open trevorshannon opened 1 year ago

trevorshannon commented 1 year ago

This will speed up page load times, especially on the affordable housing search page. Even with cached housing data, serverless takes 1-2 seconds to render the full affordable housing search landing page.

trevorshannon commented 1 year ago

I began implementing this migration (guided by #139) and indeed the page load times are usually a bit faster than with serverless. However, every once in a while, page loads are extremely slow. Additionally, the edge function sometimes crashes. The seemingly random slow loads and crashes occur both on my branch feat/edge-housing and @philhawksworth 's branch cached-search-data-on-edge

Since the speed increase is marginal compared to serverless, I'll table this for the time being.