File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EhCache and the fly likes Web Page caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Caching » EhCache
Bookmark "Web Page caching" Watch "Web Page caching" New topic
Author

Web Page caching

Poornima Sharma
Ranch Hand

Joined: Sep 09, 2008
Posts: 114
Hi All,

I was looking through the below link for web page caching in ehcache:-
EHCache Web Page Caching

They say that:- Pages are cached based on their key. The key for this cache is the URI followed by the query string. An example is /admin/SomePage.jsp?id=1234&name=Beagle. However I am unsure how will it provide the security. If someone changes the id and hits the page, will it show-up the cached data of some other user? Can't we decide our own keys? Can't we decide when to pick up the cached data and when to fetch new data?

Thanks,

Poornima Sharma
SCJP 6.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Page caching