In script_hook_pre_format_html, check whether get_cache_entry_object