| @@ -232,8 +232,15 @@ | ||
| 232 | 232 | // .htaccess can't header/log a static serve — see |
| 233 | 233 | // Cache::static_rewrite_allowed(). So Apache is the lone server that |
| 234 | 234 | // serves static hits below PHP yet logs them to the SERVER's access |
| 235 | 235 | // log, which is what we scan here. |
| 236 | + // | |
| 237 | + // LiteSpeed stays out even with the Static Fast Path opt-in (#509): | |
| 238 | + // its access log records the ORIGINAL request line ("GET / …"), not | |
| 239 | + // the rewritten static-file path, so the needle below can never | |
| 240 | + // match and scanning would only pretend to count. Verified on | |
| 241 | + // OpenLiteSpeed 1.8. Those hits are genuinely uncounted, which the | |
| 242 | + // dashboard discloses via stats.static_hits_uncounted. | |
| 236 | 243 | if ( Server::APACHE !== Server::type() ) { |
| 237 | 244 | return 0; |
| 238 | 245 | } |
| 239 | 246 | |