useblocks / docusar-pub

Issue tracker for Docusar Frontend
0 stars 0 forks source link

Cache S3 PDFs locally #7

Closed ubmarco closed 2 years ago

ubmarco commented 2 years ago

FE implementation of BE issue https://github.com/useblocks/docusar-be/issues/34. Use AWS JS SDK to get PDFs from S3 using IAM policies. This enables caching as URLs are stable. The current solution uses S3 pre-signed URLs which produces random URLs that cannot be cached by the browser.