CacheableAction always regenerated
Status: Inactive
Brought to you by:
fgnass
|
From: Martin A. <mar...@nt...> - 2004-02-07 10:10:27
|
Hi, I am using actioncache v 1.1.1 I want to take the shortest route to getting cached output in my struts based project, so I have make my Action implement CacheableAction. The code still runs, and serves the page okay, but the content is still be generated each time, not served from the cache. I have looked at ActionCacheRequestProcessor.processActionPerform, and this is what I see: The items are being put in the cache, and found next time they are needed (AbstractCache.getItem is calling touch(item)), but back in ActionCacheRequestProcessor.processActionPerform, cacheItem.isNew() is true, because lastModified is NOT_YET. I cannot see where ActionCacheItem.setLastModified is called. Can anyone help? Thanks Martin |