Cache downloads through materialized view