This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LiteSpeed Cache | |
if ( defined( 'LSCWP_V' ) ) { | |
if ( '' !== $post_id ) { | |
do_action( 'litespeed_purge_post', $post_id ); | |
} else if ( '' === $post_id ) { | |
do_action( 'litespeed_purge_all' ); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
</div> | |
<!--<iframe name="hidden" src="" width="0" height="0" frameborder="0"></iframe>--> | |
<footer class="footer bg-secondary"> | |
<div class="container my-5"> | |
<div class="row text-center"> | |
<a href="https://golitespeed.slack.com/messages/CHFTF8YNR" target="_blank" class="text-light mb-3"> Join Us @ Slack https://golitespeed.slack.com/messages/CHFTF8YNR</a> | |
</div> | |
<div class="row d-none"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-12-20 14:55:41.316160 [DEBUG] [*:443] HttpListener::handleEvents(), fd: 18, event: 1, revents: 1. | |
2018-12-20 14:55:41.316266 [DEBUG] [100.1.239.195:61947] concurrent conn: 1 | |
2018-12-20 14:55:41.316273 [DEBUG] [100.1.239.195:61947] NtwkIOLink::handleEvents() events=1! | |
2018-12-20 14:55:41.316275 [DEBUG] [100.1.239.195:61947] [SSL] SSLAgain()! | |
2018-12-20 14:55:41.325822 [DEBUG] [100.1.239.195:61947] NtwkIOLink::handleEvents() events=1! | |
2018-12-20 14:55:41.325833 [DEBUG] [100.1.239.195:61947] [SSL] SSLAgain()! | |
2018-12-20 14:55:41.325984 [DEBUG] [100.1.239.195:61947] [SSL] accepted! | |
2018-12-20 14:55:41.325989 [DEBUG] [100.1.239.195:61947] Next Protocol Negociation result: HTTP2 | |
2018-12-20 14:55:41.326001 [DEBUG] [100.1.239.195:61947:HTTP2] NtwkIOLink::continueRead()... | |
2018-12-20 14:55:41.326003 [DEBUG] [100.1.239.195:61947:HTTP2] read resumed! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class WCML_LiteSpeed_Cache { | |
public $currency ; | |
function add_hooks() { | |
if ( method_exists( 'LiteSpeed_Cache_API', 'v' ) && LiteSpeed_Cache_API::v( '2.6' ) ) { | |
// LiteSpeed_Cache_API::vary is available since 2.6. | |
add_filter( 'wcml_client_currency', array( $this, 'apply_client_currency' ) ); | |
add_action( 'wcml_set_client_currency', array( $this, 'set_client_currency' ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host: thearchclinic.com^M | |
Connection: Keep-Alive^M | |
Accept-Encoding: gzip^M | |
CF-IPCountry: US^M | |
X-Forwarded-For: 47.22.54.182^M | |
CF-RAY: 43f05a03583691d6-EWR^M | |
X-Forwarded-Proto: https^M | |
CF-Visitor: {"scheme":"https"}^M | |
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8^M | |
upgrade-insecure-requests: 1^M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// please put this into your wp's folder, same folder as index.php | |
if( empty($_GET['tags']) ) exit('err'); | |
header('X-LiteSpeed-Purge: ' . $_GET['tags'] ) ; | |
header('X-LiteSpeed-Cache-Control: no-cache') ; | |
echo 'ok' ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@hai54 /usr/local/lsws/www/html/wp80/wp-content/plugins]$ cat /usr/local/lsws/lsphp56/etc/php.ini | |
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. |