Bug 7276 : Follow up, adding a sub to clear the cache