Angular PDF Viewer
Version - 23.0.0-alpha.8Angular - 17.3.12

Content Security Policy (CSP)

The PDF viewer supports Content Security Policy (CSP) by default. However, if you don't need CSP, the PDF viewer can load the PDF file faster if you disable it. To be honest, at the moment the difference is only a single request, but if the idea carries fruit, maybe there's more to come.

HTML

<ngx-extended-pdf-viewer
    [src]="'./assets/pdfs/2404.00465v1.pdf'"
    [useInlineScripts]="false">
</ngx-extended-pdf-viewer>