__( 'Purge Front Page', 'litespeed-cache' ), 'desc' => __( 'This will Purge Front Page only', 'litespeed-cache' ), 'icon' => 'purge-front', 'append_url' => Purge::TYPE_PURGE_FRONTPAGE, ), array( 'title' => __( 'Purge Pages', 'litespeed-cache' ), 'desc' => __( 'This will Purge Pages only', 'litespeed-cache' ), 'icon' => 'purge-pages', 'append_url' => Purge::TYPE_PURGE_PAGES, ), array( 'title' => sprintf( __( 'Purge %s Error', 'litespeed-cache' ), '403' ), 'desc' => sprintf( __( 'Purge %s error pages', 'litespeed-cache' ), '403' ), 'icon' => 'purge-403', 'append_url' => Purge::TYPE_PURGE_ERROR . '403', ), array( 'title' => sprintf( __( 'Purge %s Error', 'litespeed-cache' ), '404' ), 'desc' => sprintf( __( 'Purge %s error pages', 'litespeed-cache' ), '404' ), 'icon' => 'purge-404', 'append_url' => Purge::TYPE_PURGE_ERROR . '404', ), array( 'title' => sprintf( __( 'Purge %s Error', 'litespeed-cache' ), '500' ), 'desc' => sprintf( __( 'Purge %s error pages', 'litespeed-cache' ), '500' ), 'icon' => 'purge-500', 'append_url' => Purge::TYPE_PURGE_ERROR . '500', ), array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - LSCache', 'desc' => __( 'Purge the LiteSpeed cache entries created by this plugin', 'litespeed-cache' ), 'icon' => 'purge-all', 'append_url' => Purge::TYPE_PURGE_ALL_LSCACHE, ), array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'CSS/JS Cache', 'litespeed-cache' ), 'desc' => __( 'This will purge all minified/combined CSS/JS entries only', 'litespeed-cache' ), 'icon' => 'purge-cssjs', 'append_url' => Purge::TYPE_PURGE_ALL_CSSJS, ), ) ; if ( defined( 'LSCWP_OBJECT_CACHE' ) ) { $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Object Cache', 'litespeed-cache' ), 'desc' => __( 'Purge all the object caches', 'litespeed-cache' ), 'icon' => 'purge-object', 'append_url' => Purge::TYPE_PURGE_ALL_OBJECT, ) ; } if ( Router::opcache_enabled() ) { $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Opcode Cache', 'litespeed-cache' ), 'desc' => __( 'Reset the entire opcode cache', 'litespeed-cache' ), 'icon' => 'purge-opcache', 'append_url' => Purge::TYPE_PURGE_ALL_OPCACHE, ) ; } if ( $this->has_cache_folder( 'ccss' ) ) { $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Critical CSS', 'litespeed-cache' ), 'desc' => __( 'This will delete all generated critical CSS files', 'litespeed-cache' ), 'icon' => 'purge-cssjs', 'append_url' => Purge::TYPE_PURGE_ALL_CCSS, ) ; } if ( $this->has_cache_folder( 'ucss' ) ) { $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Unique CSS', 'litespeed-cache' ), 'desc' => __( 'This will delete all generated unique CSS files', 'litespeed-cache' ), 'icon' => 'purge-cssjs', 'append_url' => Purge::TYPE_PURGE_ALL_UCSS, ) ; } if ( $this->has_cache_folder( 'localres' ) ) { $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Localized Resources', 'litespeed-cache' ), 'desc' => __( 'This will delete all localized resources', 'litespeed-cache' ), 'icon' => 'purge-cssjs', 'append_url' => Purge::TYPE_PURGE_ALL_LOCALRES, ); } if ( $this->has_cache_folder( 'lqip' ) ) { $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'LQIP Cache', 'litespeed-cache' ), 'desc' => __( 'This will delete all generated image LQIP placeholder files', 'litespeed-cache' ), 'icon' => 'purge-front', 'append_url' => Purge::TYPE_PURGE_ALL_LQIP, ) ; } if ( $this->has_cache_folder( 'avatar' ) ) { $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Gravatar Cache', 'litespeed-cache' ), 'desc' => __( 'This will delete all cached Gravatar files', 'litespeed-cache' ), 'icon' => 'purge-cssjs', 'append_url' => Purge::TYPE_PURGE_ALL_AVATAR, ) ; } $_panels[] = array( 'title' => __( 'Purge All', 'litespeed-cache' ), 'desc' => __( 'Purge the cache entries created by this plugin except for Critical CSS & Unique CSS & LQIP caches', 'litespeed-cache' ), 'icon' => 'purge-all', 'title_cls' => 'litespeed-warning', 'newline' => true, 'append_url' => Purge::TYPE_PURGE_ALL, ) ; if ( ! is_multisite() || is_network_admin() ) { $_panels[] = array( 'title' => __( 'Empty Entire Cache', 'litespeed-cache' ), 'desc' => __( 'Clears all cache entries related to this site, including other web applications.', 'litespeed-cache' ) . ' ' . __('This action should only be used if things are cached incorrectly.', 'litespeed-cache') . '', 'tag' => Core::ACTION_PURGE_EMPTYCACHE, 'icon' => 'empty-cache', 'title_cls' => 'litespeed-danger', 'cfm' => esc_html( __( 'This will clear EVERYTHING inside the cache.', 'litespeed-cache' ) ) . ' ' . esc_html( __( 'This may cause heavy load on the server.', 'litespeed-cache' ) ) . ' ' . esc_html( __( 'If only the WordPress site should be purged, use Purge All.', 'litespeed-cache' ) ) ) ; } ?>

>

form_action( Core::ACTION_PURGE_BY ) ; ?>
/> /> /> />
http://example.com/category/category-name/', 'category-name'); ?>
http://example.com/tag/tag-name/', 'tag-name'); ?>
/2016/02/24/hello-world/', 'http://www.myexamplesite.com/2016/02/24/hello-world/'); ?>