WordPress/openverse-api

Make the waveform peaks optional

krysal opened this issue · 0 comments

Problem

We include all the peaks from every audio track that has them previously generated in audio responses (on list & details endpoints). This consumes tons of bytes in network responses and with the default page_size=20 it can even freeze the browser for a few seconds. Users might not need or want the peaks in every request so making it conditional with a query parameter can improve the experience.

Implementation

  • 🙋 I would be interested in implementing this feature.