This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Page caching

 
Poornima Sharma
Ranch Hand
Posts: 114
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic