# searchpro/4.1.18/BerqWP/vendor-prefixed/src/Utils.php

BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS &amp; JavaScript, version 4.1.18. 12 lines.

- Page: https://pluginprobe.com/plugins/searchpro/4.1.18/code/BerqWP/vendor-prefixed/src/Utils.php
- Raw: https://pluginprobe.com/plugins/searchpro/4.1.18/raw/BerqWP/vendor-prefixed/src/Utils.php
- Modified: 2026-05-19T04:58:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/searchpro/4.1.18/code/BerqWP/vendor-prefixed/src/Utils.php#L10-L20`.

```php
<?php

namespace BerqWP;

class Utils
{
    public static function is_gzip_supported()
    {
        return function_exists('gzencode') && isset($_SERVER['HTTP_ACCEPT_ENCODING']) && strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !== \false;
    }
}

```
