| @@ -438,9 +438,16 @@ | ||
| 438 | 438 | // the user hasn't confirmed they actually need it. The dashboard |
| 439 | 439 | // renders a callout (+ "Check now" equality probe) from these. |
| 440 | 440 | 'mobile_separate' => array( |
| 441 | 441 | 'enabled' => ! empty( Settings::get()['cache_enabled'] ) ? (bool) ( Settings_Manager::get( 'cache' )['mobile_separate'] ?? false ) : false, |
| 442 | - 'blocking' => $rewrite_capable && 'mobile_separate' === Cache::static_rewrite_block_reason(), | |
| 442 | + // Gated to servers that HAVE a static fast path — see the | |
| 443 | + // matching comment in Admin::bootstrap_payload(): on IIS / | |
| 444 | + // unknown, block_reason still falls through to | |
| 445 | + // mobile_separate and reporting it as "blocking" would nag | |
| 446 | + // about a rewrite that does not exist there (#108). | |
| 447 | + // LiteSpeed joined the capable set with the opt-in (#509). | |
| 448 | + 'blocking' => ( $rewrite_capable || Server::LITESPEED === $server_type ) | |
| 449 | + && 'mobile_separate' === Cache::static_rewrite_block_reason(), | |
| 443 | 450 | 'needs_review' => Cache::mobile_separate_needs_review(), |
| 444 | 451 | ), |
| 445 | 452 | ) |
| 446 | 453 | ); |