Moved clear cache call to be invoked on iframe load instead of form submit