moved page cache clearing function to CmsPage model