NetTalk Central

Author Topic: Generate PDF, with NT8 uses cache, not file on disk  (Read 2525 times)

debzidoodle

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
    • Email
Generate PDF, with NT8 uses cache, not file on disk
« on: April 07, 2014, 09:06:14 AM »
Hello,

I think this is an issue with the caching.  When I generate a PDF file, in NT 8.06 if the file had been previously served it does not give the file as it exists on disk, it gives the file that was last served.

I generate a stimulsoft report to a PDF from a button on a browse, this PDF gets written to an Exports folder then the user is given a download link.
So lets say the user runs the report, goes back and changes some data, then runs the report again.
In NT 8 it serves the file that was first generated, not the file that exists on disk.

Is there a way to exclude directories or file types from being cached?

Thanks

Debra

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Generate PDF, with NT8 uses cache, not file on disk
« Reply #1 on: April 10, 2014, 05:37:10 AM »
at the moment you can only exclude files based on size, or turn the cache off altogether. I guess you could adjust the size down so it's smaller than your reports will be.

cheers
Bruce