Fix that caching module template does not work correctly in dynamic publishing. bugid:112140