HTTPArchive / tech-report-apis

APIs for the HTTP Archive Technology Report
Apache License 2.0
2 stars 0 forks source link

Investigate technologies API performance #21

Open rviscomi opened 5 months ago

rviscomi commented 5 months ago

On https://httparchive.org/reports/techreport/drilldown, I'm consistently seeing the technologies endpoint taking about 3 seconds to respond.

image

This blocks the main "Technology" dropdown UI from showing the list of technologies, and it gets stuck only having one "ALL" option.

image

Is there anything we can do to speed up the response?

tunetheweb commented 5 months ago

Can we also add cache-control headers to these? Even for a short while so it doesn't need to hit the server every single time when you're browsing around the site.

rviscomi commented 4 months ago

@maceto have you had a chance to look at this?

maceto commented 4 months ago

Hi @rviscomi , I couldn't reproduce the 3 seconds response.

tunetheweb commented 4 months ago

Yeah definitely seems faster now. Sure you didn't fix it already as was definitely slow before :-)