add new document functionality
added pdfinfo cache on server