If you are looking for a definitive academic paper on how to efficiently index files that change over time, a highly relevant and "useful" choice is:
// script.js async function loadFiles() const response = await fetch('mock-data.json'); const files = await response.json(); index of files updated