use the new Page.purge() method instead of direct API call