On our web application, we have loads of attachments, some static (from DB) and some dynamic (generated), some of the generated files take really long (Content-Disposition: Attachment
)
to download, and the user will click away sometimes. is there anyway to show and HIDE a loader as soon as the file is actually served to the browser?
I have looked for similar questions on stackoverflow and there are, but none of them with useful answers: for example.
Is this a viable question or should i just try to increase the speed at which the files are generated?