/home/vianto5/distritosatelite.mx/wp-content/plugins/litespeed-cache/tpl/dash
Edit: /home/vianto5/distritosatelite.mx/wp-content/plugins/litespeed-cache/tpl/dash/dashboard.tpl.php (44855B)
scores();
$crawler_summary = Crawler::get_summary();
// Image related info
$img_optm_summary = Img_Optm::get_summary();
$img_count = Img_Optm::cls()->img_count();
$img_finished_percentage = 0;
if ( ! empty( $img_count['groups_all'] ) ) {
$img_finished_percentage = 100 - floor( $img_count['groups_new'] * 100 / $img_count['groups_all'] );
}
if ( 100 === $img_finished_percentage && ! empty( $img_count['groups_new'] ) ) {
$img_finished_percentage = 99;
}
$cloud_instance = Cloud::cls();
$cloud_instance->finish_qc_activation();
$cloud_summary = Cloud::get_summary();
$css_summary = CSS::get_summary();
$ucss_summary = UCSS::get_summary();
$placeholder_summary = Placeholder::get_summary();
$vpi_summary = VPI::get_summary();
$ccss_count = count( $this->load_queue( 'ccss' ) );
$ucss_count = count( $this->load_queue( 'ucss' ) );
$placeholder_queue_count = count( $this->load_queue( 'lqip' ) );
$vpi_queue_count = count( $this->load_queue( 'vpi' ) );
$can_page_load_time = defined( 'LITESPEED_SERVER_TYPE' ) && 'NONE' !== LITESPEED_SERVER_TYPE;
?>
activated() && ! Admin_Display::has_qc_hide_banner() ) : ?>
esc_html__( 'Public Cache', 'litespeed-cache' ),
Base::O_CACHE_PRIV => esc_html__( 'Private Cache', 'litespeed-cache' ),
Base::O_OBJECT => esc_html__( 'Object Cache', 'litespeed-cache' ),
Base::O_CACHE_BROWSER => esc_html__( 'Browser Cache', 'litespeed-cache' ),
);
foreach ( $cache_list as $cache_option => $cache_title ) :
?>
conf( $cache_option ) ) : ?>
list_crawlers() ) ); ?>
:
:
:
:
' . esc_html__( 'Last crawled:', 'litespeed-cache' ) . '',
esc_html( $crawler_summary['last_crawled'] )
);
?>
load_qc_status_for_dash( 'news_dash_guest' );
if ( ! empty( $news ) ) :
?>
activated() && ! Admin_Display::has_qc_hide_banner() ) : ?>
QUIC.cloud Online Services and CDN.', 'litespeed-cache' ) ); ?>
activated() && Admin_Display::has_qc_hide_banner() ) : ?>
QUIC.cloud'
);
?>
esc_html__( 'Image Optimization', 'litespeed-cache' ),
'page_optm' => esc_html__( 'Page Optimization', 'litespeed-cache' ),
'cdn' => esc_html__( 'CDN Bandwidth', 'litespeed-cache' ),
'lqip' => esc_html__( 'Low Quality Image Placeholder', 'litespeed-cache' ),
);
foreach ( $cat_list as $svc => $svc_title ) :
$finished_percentage = 0;
$total_used = '-';
$used = '-';
$quota = '-';
$pag_used = '-';
$pag_total = '-';
$pag_width = 0;
$percentage_bg = 'success';
$pag_txt_color = '';
$usage = false;
if ( ! empty( $cloud_summary[ 'usage.' . $svc ] ) ) {
$usage = $cloud_summary[ 'usage.' . $svc ];
$finished_percentage = floor( $usage['used'] * 100 / $usage['quota'] );
$used = (int) $usage['used'];
$quota = (int) $usage['quota'];
$pag_used = ! empty( $usage['pag_used'] ) ? (int) $usage['pag_used'] : 0;
$pag_bal = ! empty( $usage['pag_bal'] ) ? (int) $usage['pag_bal'] : 0;
$pag_total = $pag_used + $pag_bal;
if ( ! empty( $usage['total_used'] ) ) {
$total_used = (int) $usage['total_used'];
}
if ( $pag_total ) {
$pag_width = round( $pag_used / $pag_total * 100 ) . '%';
}
if ( $finished_percentage > 85 ) {
$percentage_bg = 'warning';
if ( $finished_percentage > 95 ) {
$percentage_bg = 'danger';
if ( $pag_bal ) {
$percentage_bg = 'warning';
$pag_txt_color = 'litespeed-success';
}
}
}
}
?>
0 ) : ?>
:
$sub_usage ) :
?>
:
: / ∞
= 0 && isset( $usage['daily_quota'] ) && $usage['daily_quota'] >= 0 ) : ?>
: /
activated() ) :
Doc::learn_more(
Utility::build_url( Router::ACTION_CLOUD, Cloud::TYPE_ACTIVATE ),
esc_html__( 'Enable QUIC.cloud Services', 'litespeed-cache' ),
true,
'button litespeed-btn-warning'
);
elseif ( ! empty( $cloud_summary['qc_activated'] ) && 'anonymous' !== $cloud_summary['qc_activated'] ) :
?>
conf( $guest_option ) ) : ?>
get_cls_of_pagescore( $health_scores['score_before'] ) ) ), GUI::allowed_svg_tags() ); ?>
get_cls_of_pagescore( $health_scores['score_after'] ) ) ), GUI::allowed_svg_tags() ); ?>
:
()
:
()
:
:
Lang::title( Base::O_IMG_OPTM_AUTO ),
);
foreach ( $opt_list as $opt_id => $opt_title ) :
?>
conf( $opt_id ) ) : ?>
esc_html__( 'Public Cache', 'litespeed-cache' ),
Base::O_CACHE_PRIV => esc_html__( 'Private Cache', 'litespeed-cache' ),
Base::O_OBJECT => esc_html__( 'Object Cache', 'litespeed-cache' ),
Base::O_CACHE_BROWSER => esc_html__( 'Browser Cache', 'litespeed-cache' ),
);
foreach ( $cache_list as $cache_option => $cache_title ) :
?>
conf( $cache_option ) ) : ?>
' . esc_html( Utility::readable_time( $css_summary['last_request_ccss'] ) ) . ''
);
?>
' . esc_html( $css_summary['last_spent_ccss'] ) . 's'
);
?>
:
' . esc_html( Utility::readable_time( $ucss_summary['last_request'] ) ) . ''
);
?>
' . esc_html( $ucss_summary['last_spent'] ) . 's'
);
?>
:
' . esc_html( Utility::readable_time( $placeholder_summary['last_request'] ) ) . ''
);
?>
' . esc_html( $placeholder_summary['last_spent'] ) . 's'
);
?>
:
(VPI)
' . esc_html( Utility::readable_time( $vpi_summary['last_request'] ) ) . ''
);
?>
' . esc_html( $vpi_summary['last_spent'] ) . 's'
);
?>
:
list_crawlers() ) ); ?>
:
:
:
:
' . esc_html__( 'Last crawled:', 'litespeed-cache' ) . '',
esc_html( $crawler_summary['last_crawled'] )
);
?>
activated() ? Cloud::TYPE_ENABLE_CDN : Cloud::TYPE_ACTIVATE ) ),
'' . esc_html__( 'Enable QUIC.cloud CDN', 'litespeed-cache' ),
true,
'button button-primary litespeed-button-cta'
);
?>
' . esc_html__( 'more', 'litespeed-cache' ) . ''
);
?>
load_qc_status_for_dash( 'cdn_dash_mini' ) ); ?>
activated() ) : ?>
load_qc_status_for_dash( 'promo_mini' );
if ( $promo_mini ) :
echo wp_kses_post( $promo_mini );
endif;
?>
activated() ) : ?>
load_qc_status_for_dash( 'news_dash' );
if ( $news ) :
?>