Open kimadactyl opened 1 year ago
I'm wondering if we should reconsider the approach of getting event data for single events from the list of all events rather than follow traditional pattern of loading each one individually.
Need to check if the API endpoint for all events have all the data we need for that?
Looking at the code, the API request is only being made on the all Events endpoint. It's the static build of each individual event page taking the time.
Going to try a strategy of loading all dates for all events but using a filtered list for individual event pages then live load from API if 404 on event link. #351 after #296
Description
Builds are currently taking 40 minutes plus which is meaning Cloudflare is timing out the build.
On looking at the log it seems the reason for this is that individual event pages are taking 450ms+ to build - this seems really long. We are about to get an influx of many new events too so this issue needs resolving before launch.
Steps to reproduce
Plan