PDFBOX-1808: don't cache values which are used one time only

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1553174 13f79535-47bb-0310-9956-ffa450edef68