Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1164563
    weareobeo
    Participant

    Hello,

    I’m not sure if this is a theme issue, but I have tried the code I found on this forum to try and turn on Gzip compression, but when I retest it’s not turned on…

    See code I added here:

    <IfModule mod_deflate.c>

    # Force compression for mangled headers.
    # http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping
    <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
    SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
    RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
    </IfModule>
    </IfModule>

    # Compress all output labeled with one of the following MIME-types
    # (for Apache versions below 2.3.7, you don’t need to enable mod_filter
    # and can remove the <IfModule mod_filter.c> and </IfModule> lines
    # as AddOutputFilterByType is still in the core directives).
    <IfModule mod_filter.c>
    AddOutputFilterByType DEFLATE application/atom+xml \
    application/javascript \
    application/json \
    application/ld+json \
    application/rss+xml \
    application/vnd.ms-fontobject \
    application/x-font-ttf \
    application/x-web-app-manifest+json \
    application/xhtml+xml \
    application/xml \
    font/opentype \
    image/svg+xml \
    image/x-icon \
    text/css \
    text/html \
    text/plain \
    text/x-component \
    text/xml
    </IfModule>

    </IfModule>

    #1164661
    Thai
    Moderator

    Hi There,

    In this case, you should contact your hosting provider about this issue.

    Thanks.

    #1164680
    Legotan
    Participant

    @weareobeo
    If you need further advice, you can write me an email: [email protected]

    #1164901
    Joao
    Moderator

    Thanks for your input Legotan.

    Joao

    #1174598
    weareobeo
    Participant

    I’ve contacted the hosting service. Gzip is available, they tested a file. However, I still can’t get it working on my WP (x theme) site. I’ve tried .htaccess file manually and I’ve tried using plugins. 🙁

    #1174785
    Christian
    Moderator

    Hey there,

    We’re sorry but website optimization is outside the scope of our support. You can checkout our basic performance guide here https://community.theme.co/kb/performance/. Or, you might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/

    Thank you for understanding.

  • <script> jQuery(function($){ $("#no-reply-1164563 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>