NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: debzidoodle on April 07, 2014, 09:06:14 AM

Title: Generate PDF, with NT8 uses cache, not file on disk
Post by: debzidoodle 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
Title: Re: Generate PDF, with NT8 uses cache, not file on disk
Post by: Bruce 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