Ok. CacheResponseWrapper creating such files. [code] if(this.serveIfThresholdReached) { this.replayHeadersAndStatus(this.originalResponse); out1 = this.originalResponse.getOutputStream(); log.debug("Reached threshold for in-memory caching. Will not cache and stream response directly to user."); } else { this.contentFile = File.createTempFile("cacheStream", (String)null, Path.getTempDirectory()); if(this.contentFile != null) { log.debug("Reached threshold for in-memory caching. Will continue caching in new cache temp file {}", this.contentFile.getAbsolutePath()); this.contentFile.deleteOnExit(); out1 = new FileOutputStream(this.contentFile); } else { log.error("Reached threshold for in-memory caching, but unable to create the new cache temp file. Will not cache and stream response directly to user."); this.replayHeadersAndStatus(this.originalResponse); out1 = this.originalResponse.getOutputStream(); } } [/code]
This is temp files and if i restart tomcat this files deletes automaticly. But why these files creates so many times? -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8c9fda78-3b44-41ed-a69c-7bf1b85a195b ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------