Locally strip metadata to attempt structural PDF compression.
By decoding the PDF document structure and stripping out bulky metadata, authorship properties, and re-optimizing the serialization objects, we can often shave off unnecessary megabytes from sprawling documents.
If your PDF is made entirely of huge scanned images, removing metadata won't affect it. Real compression requires lowering image DPI, which is hard to do in-browser privately.