model view controller - eh cache implementation in spring -
i have dating module in application, in need show random profile picture of opposite gender, after profile appears , can either accept or reject profile , if u reject profile again random profile appears, every time hitting db , fetching profile.this proving costly in terms of performance, use ehcache cache results. using spring mvc 3.1. can me in implementation, or there other better ways of implementation
may http://ehcache.org/documentation/recipes/pagecaching address yours problem.spring suppors ehcache see link http://ehcache.org/documentation/recipes/spring-annotations
Comments
Post a Comment