HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/public_html/wp-content/plugins/litespeed-cache/assets/js/guest.js
var litespeed_vary = document.cookie.replace(/(?:(?:^|.*;\s*)_lscache_vary\s*\=\s*([^;]*).*$)|^.*$/, "$1");
if ( ! litespeed_vary ) {
	// Note: as the vary may be changed in Login Cookie option, even the visitor doesn't have this cookie, it doesn't mean the visitor doesn't have the vary, so still need PHP side to decide if need to set vary or not.
	fetch( 'litespeed_url', {
		method: 'POST',
		cache: 'no-cache',
		redirect: 'follow',
	} ).then( response => response.json() ).then( data => {
		console.log(data);
		if ( data.hasOwnProperty( 'reload' ) && data.reload == 'yes' ) {
			// Save doc.ref for organic traffic usage
			sessionStorage.setItem( 'litespeed_docref', document.referrer );

			window.location.reload( true );
		}
	} );
}