Is it possible to make autoindex module self refresh?

Hello,
I woud like to ask, if it is somehow possible to force autoindex page to refresh automaticlly (for example each 5 seconds).
The reason I want this is following: I have website, where generatig of index is based on data availability. But unfortunatelly, it takes a while for data to compute and transfer on server. During this time, there is onlyindex of page generated by apache. What I want is to make apache refresh this index of page itselfs until index.html is created and webpage with…

Is it possible to make autoindex module self refresh?