NatVIII / rva.rip

The missing LGBTQ+ events board for Richmond, VA
https://rva.rip/
GNU Affero General Public License v3.0
9 stars 5 forks source link

Fix Caching by removing page caching of "/" #72

Closed NatVIII closed 6 months ago

NatVIII commented 6 months ago

Previously caching would be unreliable, but this is because both the API calls AND the webpage at the root directory were being cached. I've taken the liberty to reduce the caching time to 20 minutes as well, so changes should appear much more quickly. This may finally be the solution!!!

Thanks to @DanielKim1 for his extensive work in helping me understanding caching in Nuxt's backend, Nitro, last night. Couldn't have done this without you!

vercel[bot] commented 6 months ago

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

Name Status Preview Comments Updated (UTC)
rva-rip ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 4:22pm
NatVIII commented 6 months ago

I'm so happy, this really seems to work. Merging now and I'll let god sort them out.