caching fragement

HI all,

in my application i have index action. i called cache for this index by using

cache_page :index and in index.erb page i called another partila page using and cached the fragment using

<%cache "1" do%> <%@someobjects=Tablename.find(:all)%> <%=render(:partial=>'index2',:collection=>@someobjects%> <%end%>

i want to expire the page and fragment caching how to do this. please its very urgent

Regards, Raju


Check out