PluginProbe
FlyWP Helper – Page Cache, Page Optimization, Emails for FlyWP Server Control Panel / 1.0
FlyWP Helper – Page Cache, Page Optimization, Emails for FlyWP Server Control Panel v1.0
1.7.1 1.7.0 1.6.0 1.5.2 trunk 0.1 0.2.0 0.2.1 0.3 0.3.1 0.3.2 0.3.3 0.3.4 0.4 0.4.1 0.4.2 0.4.3 1.0 1.1 1.2 1.3.1 1.4.0 1.4.1 1.5.0 1.5.1 All 26 releases
← All changes | includes/Fastcgi_Cache.php +0 -5 1.5.11.0 View file →
@@ -120,13 +120,8 @@
120 120 public function purge_cache_by_url( $url ) {
121 121 $parsed = wp_parse_url( $url );
122 122 $path = isset( $parsed['path'] ) ? $parsed['path'] : '';
123 123
124 - // Ensure path ends with trailing slash
125 - if ( substr( $path, -1 ) !== '/' ) {
126 - $path .= '/';
127 - }
128 -
129 124 // cache key format (without space): $protocal $method $host $path
130 125 // because of nginx-proxy, all request will be http, so we don't need to check protocal
131 126 // $method is always GET as we only cache GET request
132 127 $hash = md5( 'httpGET' . $parsed['host'] . $path );