SwampScheduler icon indicating copy to clipboard operation
SwampScheduler copied to clipboard

Add Couse Cache System

Open elicampos opened this issue 1 year ago • 3 comments

Issue: https://github.com/ufosc/SwampScheduler/issues/51 I implemented a system in which it caches the searches and the individuals courses. So if you search something that was previously searched, it will still pull from the cache(Basic React Query which you guys already had), however during this process it also caches each course found. So now for each course search, it sees if the result is in the search or course cache and if neither it calls the API again. The only drawback to this is the fact that very large searches like "EEL" for example, take about 30% longer, as it's caching all the courses but again now every course with EEL pops up almost instantly.

elicampos avatar Feb 09 '24 21:02 elicampos

@elicampos is attempting to deploy a commit to the UF OSC Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 09 '24 21:02 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
swamp-scheduler ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 18, 2024 6:24pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
swamp-scheduler-v2 ⬜️ Ignored (Inspect) Visit Preview Mar 18, 2024 6:24pm

vercel[bot] avatar Feb 10 '24 07:02 vercel[bot]

image Run Prettier and commit :)

UF-OSC-TechLeads avatar Feb 10 '24 18:02 UF-OSC-TechLeads