[ 
https://issues.apache.org/jira/browse/PDFBOX-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761111#comment-16761111
 ] 

ASF subversion and git services commented on PDFBOX-4231:
---------------------------------------------------------

Commit 1853025 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1853025 ]

PDFBOX-4231: fallback to next directory if not writeable, as suggested by 
Michael Brackx

> cache file fallback if not writable
> -----------------------------------
>
>                 Key: PDFBOX-4231
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4231
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Michael Brackx
>            Priority: Major
>
> Fallback to the next file location if the current location for .pdfbox.cache 
> is not writable.
> Currently there is a fallback from pdfbox.fontcache to user.home to 
> java.io.tmpdir as directory to write .pdfbox.cache, but this is only on the 
> level of if the system property is defined.
> It would be nice to fallback to the next directory if the file is not 
> writable in a directory.
> Without config and on a system where user.home is not writable pdfbox is 
> quite slow, as the caching is tried each time.
> Usually java.io.tmpdir is writable, so this would provide better performance 
> out of the box.
> The workaound is to configure the pdfbox.fontcache system property.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to