cleaned up the cachable. using _before|_after methods. a lot more readable

git-svn-id: file:///var/www/svn/anahita/anahita/branches/search@17070 a933e228-e664-4d3f-8241-49479697c698