RevealTheme logo

اختبار الضغط Gzip / Brotli

تحقّق مما إذا كان الرابط يقدّم استجابات مضغوطة (gzip أو brotli).

كيفية استخدام هذه الأداة

  1. 1

    Paste the full URL you want to check, including the https:// scheme.

  2. 2

    Submit the form to have our server request that URL.

  3. 3

    Read the result card: it shows the Content-Encoding value (such as gzip or br) and whether compression was detected.

  4. 4

    Adjust your server configuration if the card reports no compression, then re-run the check.

ما هو اختبار الضغط Gzip / Brotli؟

يقلّل الضغط حجم النقل بنسبة تتراوح بين 60% و80% للمحتوى النصي (HTML و CSS و JS و JSON). يتفوّق Brotli (الذي ظهر عام 2015) على gzip؛ وتدعم الخوادم الحديثة كليهما وتختار الأفضل وفق ترويسة Accept-Encoding. تتحقّق هذه الأداة مما إذا كان خادمك مهيّأً بشكل صحيح.

حالات الاستخدام الشائعة

  • Confirm that a newly deployed Nginx or Apache config is actually emitting gzip or brotli on your homepage.

  • Verify a CDN such as Cloudflare or Fastly is compressing HTML responses at the edge.

  • Spot-check an API endpoint that returns large JSON to see whether it is being compressed in transit.

  • Diagnose a slow page by ruling compression in or out before digging into other performance causes.

  • Check whether a specific path (not just the root) is served compressed when rules differ per route.

  • Demonstrate to a client or teammate, with a shareable result, that their pages are or are not compressed.

الأسئلة الشائعة

لماذا موقعي غير مضغوط؟
عادةً ما تكون مشكلة في إعداد الخادم. يحتاج Apache إلى mod_deflate؛ ويحتاج Nginx إلى gzip_on. أما LiteSpeed فيأتي مفعّلًا افتراضيًا.
هل يساعد الضغط مع الصور؟
بشكل هامشي: الصور (JPEG/WebP) مضغوطة بالفعل. يفيد الضغط بالأساس المحتوى النصي.

أدوات ذات صلة