$30 GRAYBYTE WORDPRESS FILE MANAGER $64

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/main/

HOME
Current File : /var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/main//prooptimizations.php
<?php

namespace SpeedyCache;

if(!defined('ABSPATH')){
	die('HACKING ATTEMPT');
}

class ProOptimizations{
	static $content = '';

	// function init(&$content){
		// self::$content = $content;
	// }
	
	static function defer_js(&$content){
		global $speedycache;

		\SpeedyCache\Enhanced::init();
		$content = \SpeedyCache\Enhanced::render_blocking($content);
	}
	
	static function delay_js(&$content){
		global $speedycache;

		\SpeedyCache\Enhanced::init();
		if(empty($speedycache->enhanced)){
			$speedycache->enhanced['html'] = $content;
		}

		$content = \SpeedyCache\Enhanced::delay_js($content);
	}
	
	static function unused_css(){
		$url = esc_url(speedycache_optserver('HTTP_HOST'). speedycache_optserver('REQUEST_URI'));

		if(strpos($url, '?test_speedycache') !== FALSE){
			\SpeedyCache\UnusedCss::generate(array($url));
		} else {
			\SpeedyCache\UnusedCss::schedule('speedycache_unused_css', array($url));
		}
	}
	
	static function critical_css(){
		$url = esc_url(speedycache_optserver('HTTP_HOST'). speedycache_optserver('REQUEST_URI'));

		if(strpos($url, '?test_speedycache') !== FALSE){
			\SpeedyCache\CriticalCss::generate(array($url));
		} else {
			\SpeedyCache\CriticalCss::schedule('speedycache_generate_ccss', array($url));
		}
	}
	
	static function img_lazy_load(&$content){

		// to disable for Ajax Load More on the pages
		if(speedycache_is_plugin_active('ajax-load-more/ajax-load-more.php') && !empty($_SERVER['REQUEST_URI']) && preg_match("/\/page\/\d+\//", sanitize_url(wp_unslash($_SERVER['REQUEST_URI'])))){
			return;
		}

		$content = \SpeedyCache\Enhanced::lazy_load($content);
		$lazy_load_js = '';
		
		if(file_exists(SPEEDYCACHE_PRO_DIR . '/main/lazyload.php')){
			$lazy_load_js = \SpeedyCache\LazyLoad::get_js_source();
		}

		$content = preg_replace("/\s*<\/head\s*>/i", $lazy_load_js.'</head>', $content, 1);
	}
	
	static function remove_gfonts(&$content){
		global $speedycache;

		if(!empty($speedycache->bloat['remove_gfonts'])){
			$content = preg_replace('/<link[^<>]*\/\/fonts\.(googleapis|google|gstatic)\.com[^<>]*>/i', '', $content);
		}
	}
}


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
admin.php
24.343 KB
18 Feb 2026 11.32 PM
root / root
0644
bloat.php
10.18 KB
18 Feb 2026 11.32 PM
root / root
0644
cli.php
1.627 KB
18 Feb 2026 11.32 PM
root / root
0644
commoncss.php
3.654 KB
18 Feb 2026 11.32 PM
root / root
0644
criticalcss.php
9.979 KB
18 Feb 2026 11.32 PM
root / root
0644
db.php
2.6 KB
18 Feb 2026 11.32 PM
root / root
0644
enhanced.php
47.305 KB
18 Feb 2026 11.32 PM
root / root
0644
googlefonts.php
5.604 KB
18 Feb 2026 11.32 PM
root / root
0644
image.php
71.204 KB
18 Feb 2026 11.32 PM
root / root
0644
index.html
0.089 KB
18 Feb 2026 11.32 PM
root / root
0644
lazyload.php
14.829 KB
18 Feb 2026 11.32 PM
root / root
0644
license.php
4.116 KB
18 Feb 2026 11.32 PM
root / root
0644
logs.php
7.611 KB
18 Feb 2026 11.32 PM
root / root
0644
metaboxpro.php
1.972 KB
18 Feb 2026 11.32 PM
root / root
0644
mobile.php
1.568 KB
18 Feb 2026 11.32 PM
root / root
0644
object-cache-lib.php
10.857 KB
18 Feb 2026 11.32 PM
root / root
0644
objectcache.php
8.471 KB
18 Feb 2026 11.32 PM
root / root
0644
plugin-update-checker.php
52.862 KB
18 Feb 2026 11.32 PM
root / root
0644
premium.php
0.413 KB
18 Feb 2026 11.32 PM
root / root
0644
prooptimizations.php
2.123 KB
18 Feb 2026 11.32 PM
root / root
0644
renderblocking.php
36.803 KB
18 Feb 2026 11.32 PM
root / root
0644
settingspage.php
36.782 KB
18 Feb 2026 11.32 PM
root / root
0644
statistics.php
4.251 KB
18 Feb 2026 11.32 PM
root / root
0644
unusedcss.php
7.452 KB
18 Feb 2026 11.32 PM
root / root
0644
youtube.html
2.29 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF