I have a service which converts documents into PDFs on demand. It is computationally expensive to do this, so I want to avoid converting the same file multiple times.
At the moment I store my generated PDFs in a temporary folder on the server, but as I increase the number of services that are running, each may end up with their own copy of the file.
Is there a recommended technology solution to this problem?