More and more users use mobile devices to retrieve dynamic web pages in the wireless networks. Caching dynamic pages becomes very important due to the power constraint of mobile devices. In this paper, we first introduce a framework to cache and manage the dynamic web pages on the server side such that these dynamic pages can also be cached in the mobile devices. Then we propose a stateful IR-based approach which only records two numbers, the number of web pages updated and the number of web pages updated and also queried after they are updated on the server in an IR interval. Recording these two numbers dramatically reduces the IR size. The experiments show that our proposed approach combined with the Timestamp and UIR algorithms consumes the power around 40~47% less than the original Timestamp and UIR. Also, our method performs better than the Perfect Server that has the full knowledge of the contents stored in all the mobile client's caches in terms of power consumption.