blekhmanlab / rxivist

API providing access to papers and authors scraped from biorxiv.org

Home Page:https://rxivist.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send shorter cache headers for frequently updated pages

rabdill opened this issue · comments

24-hour cache for the API and the website means we could end up with two-day-old data when we're grabbing new info every 6 hours. The front page (and maybe any queries that don't include strings?) should have much shorter cache times, which CloudFront will respect if we set it the right way.