ericwbailey / a11y-webring.club

🌐 A webring for digital accessibility practitioners.
https://a11y-webring.club/
MIT License
35 stars 86 forks source link

#60: Bugfix - Neglected to update the Netlify functions #77

Closed stevenwoodson closed 1 year ago

stevenwoodson commented 1 year ago

I had neglected to update the Netlify functions that relied on the previous format of all members in one static file. Changed to use glob to import all files into the members array instead. Sorting this array by the same date-based sorting method used on the site.

While this is working in my local tests, I'm not familiar enough with how Netlify caches the data in these functions so I can't tell if the members list is generated once on build or if it happens on each request. Running locally, going to any of the next, prevous, or random links redirects me almost instantly but that's not indicative of live performance. Possible to verify?

ericwbailey commented 1 year ago

Possible to verify?

Outside my scope of knowledge of Netlify's inner workings, but I think what you've proposed should work. Let's try it live!