I am using caches_page to cache a controller action which returns
@county = County.find(params[:id])
respond_to do |format|
However when I hit the page, the server caches it as a html:
Cached page: /home/show_county/22.html (1.1ms)
This is obviously causing problems on subsequent hits.
I am using rails 2.2.2
Any ideas on why the page is cached as .html and how do I rectify