Cache JSP based on URL parameter
Posted
by
Satheesh
on Stack Overflow
See other posts from Stack Overflow
or by Satheesh
Published on 2012-08-29T07:22:19Z
Indexed on
2012/08/29
9:38 UTC
Read the original article
Hit count: 188
I have a jsp file pageshow.jsp and the parameter id,
Is there any way to cache the jsp file in server-side based on the url parameter
Requesting page pageshow.jsp?id=100 get from cache instead of building from server
Requesting page pageshow.jsp?id=200 get from cache instead of building from server
Above two pages should have different cache content since their parameter are different
This may avoid the rebuilding the jsp file in server side and also decrease the server load
© Stack Overflow or respective owner