Answer:
In the top of the page, we have to add like following
<%@ OutputCache Duration="30" VaryByParam="ID" %>
Above define tell to server the page cache for 30 minutes by querystring ID.