Hi, First of all I'm quite new to this list - so whether or not you want diffs on this list or only in JIRA I'm blissfully unaware of. So here goes anyway.
I've discovered what seems to be two bugs in the cache module (I'm building the trunk, which currently is 3.6.2-SNAPSHOT) 1) When not using a locale on the locale machine, which would make Locale.ENGLISH the default locale. The parsing of the Last-Modified header makes it throw tons of exceptions (ParseException in info.magnolia.module.cache.filter.CacheResponseWrapper:145) 2) The expiration is set to +400 months from now even though the requested amount in minutes is 30. This seems to be because System.currentTimeMillis() isn't subtracted - or not factored into the calculations in info.magnolia.module.cache.executor.SetExpirationHeaders:76. I've attached a diff against the current trunk (svn diff), which can be applied to clean up the two above mentioned bugs. Thanks for a great content management system! BR, Ian Johannesen
magnolia-module-cache-3.6.2-SNAPSHOT.diff
Description: magnolia-module-cache-3.6.2-SNAPSHOT.diff
---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
