Allowing users to download CSV on click

this is a nice solution but it just works for “static” data.

the route callback gets just eveluated once. so you have no chance to update the data that is served in the callback