HTTP Compression Tester

PHP

Menciptakan alat web Anda sendiri untuk HTTP compression tester membantu anda memverifikasi konten web sedang dikompresi menggunakan gzip / mengempis / mod_gzip / mod_deflate menggunakan PHP.

Pemakaian:

<?php

    // Include compression_tester.php
    require("compression_tester.php");
    
    // Call function compression_tester
    echo compression_tester("http://ibacor.com");

?>

Result:

URL: http://ibacor.com

Compression working: Yes

Compression type: gzip

Uncompressed size: 20033 bytes

Compressed size: 5180 bytes

Compression: 74.1 %

keyboard_arrow_up