doc-view-cache-directory

doc-view-cache-directory is a variable defined in `doc-view.el'.
Its value is
"/tmp/docview1000"


Documentation:
The base directory, where the PNG images will be saved.

You can customize this variable.