Topic: Unable to expire a page cache from my admin section
I'm having a bit of a confusing issue with the application I have just built, I am playing with page caching, however I cant seem to expire the cached page when updating or creating a new item in the admin section I have built.
for instance I have an articles controller which has:
and in the create and update actions in the admin articles controller I have done:
expire_page :action => :index
I can see why this isn't working as it clears a non existent "/admin/articles.html" but all the ways I have tried to get it to expire the cached page so far have not been fruitful, I have also tried using a sweeper but again this tries to clear a non existent "/admin/articles.html" can anyone shed some light on what I need to do?
Last edited by yorkie-t (2010-02-11 09:09:20)