We should seriously consider implementing this feature client-side:
This will allow us to return the page with all of the relevant information from Cantus Database right away, and have the user's browser send the request to CI to display concordances and update the page once CI's response has come back
If a bot is crawling our site, either
it will just request the page and parse our response, without executing any JavaScript
or, the bot will be the one responsible for sending the request to CI for concordances, and if it becomes a problem on CI's end, Jan can deal with it directly without us having to get involved.
This feature was turned off by https://github.com/DDMAL/CantusDB/pull/1142, and we need to turn it back on again.
https://github.com/DDMAL/CantusDB/commit/206e85a2f0b527affb6e9a87d3cfea937a52d38a and https://github.com/DDMAL/CantusDB/commit/f4c1c1fe2ad156e8df96657f9c4c3bbbbfa2a943 were the commits responsible for removing this functionality.
We should seriously consider implementing this feature client-side:
We can use CI's https://cantusindex.org/json-cid/{CantusID} endpoint.