Skip to content

LePdf 0.3.0

Latest

Choose a tag to compare

@LeRalf LeRalf released this 03 Dec 00:06
· 1 commit to main since this release

New: noStore() for show() and download().

  • Sends Cache-Control: private, no-store, max-age=0, Pragma: no-cache and Expires: 0 instead of the default Cache-Control: private, max-age=0, must-revalidate.
  • Browsers, PDF viewers and apps then do not reuse an older PDF when the same address and file name deliver a different one later.
  • noStore(false) returns to the default. The default is unchanged.
  • Works for inline (show()) and attachment (download()) alike.