• Resolved mhabgeordnete

    (@mhabgeordnete)


    Hey, I copied this

    RewriteEngine On # Does browser explicitly support webp? RewriteCond %{HTTP_USER_AGENT} Chrome [OR] # OR Is request from Page Speed RewriteCond %{HTTP_USER_AGENT} “Google Page Speed Insights” [OR] # OR does this browser explicitly support webp RewriteCond %{HTTP_ACCEPT} image/webp # AND NOT MS EDGE 42/17 – doesnt work. RewriteCond %{HTTP_USER_AGENT} !Edge/17 # AND is the request a jpg, png or gif? RewriteCond %{REQUEST_URI} ^(.+)\.(?:jpe?g|png|gif)$ # AND does a .ext.webp image exist? RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.webp -f # THEN send the webp image and set the env var webp RewriteRule ^(.+)$ $1.webp [NC,T=image/webp,E=webp,L] # If REDIRECT_webp env var exists, append Accept to the Vary header Header append Vary Accept env=REDIRECT_webp AddType image/webp .webp

    into the .htacess. and cleared my cache, unfortunately webP does not work. What could be the reason? The site is at Ionos and the speed on the desktop is great, but not yet in the mobile view. Have a gerat day!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mhabgeordnete

    (@mhabgeordnete)

    {"code":"ok","data":"alive"}%                                                   maja@Mac ~ % curl -I "https://mhmobil.de?rest_route=/tenweb_so/v1/check_domain" 

    HTTP/2 200 

    content-type: application/json; charset=UTF-8

    x-ws-ratelimit-limit: 100

    x-ws-ratelimit-remaining: 99

    date: Sun, 16 Mar 2025 22:51:36 GMT

    server: Apache

    x-powered-by: PHP/8.2.27

    x-robots-tag: noindex

    link: <https://mhmobil.de/wp-json/>; rel="https://api.w.org/"

    x-content-type-options: nosniff

    access-control-expose-headers: X-WP-Total, X-WP-TotalPages, Link

    access-control-allow-headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type

    tenweb_check_domain: alive

    allow: GET, POST
    Plugin Support Mane Grigoryan

    (@manegr)

    Hi @mhabgeordnete ,
    Thank you for contacting us.

    We have rechecked the WebP issue and we can see it is already generated by another service. This is why WebP generation from our side fails. Here is an example image.

    What refers to the speed, there is an issue with Text Compression. Will you please kindly ask your hosting provider to enable Text Compression on their side and recheck the speed?

    Regards, Mane

    Thread Starter mhabgeordnete

    (@mhabgeordnete)

    Thank u very much, that worked!

    Thread Starter mhabgeordnete

    (@mhabgeordnete)

    Unfortunately, I now have the same problem as the person in this post: https://ww.wp.xz.cn/support/topic/images-not-loading-in-home-page-until-interaction/ My gallery does not load directly in the mobile view, only after touching the mobile screen.

    Plugin Support Mane Grigoryan

    (@manegr)

    Dear @mhabgeordnete ,

    The delayed JS functionality you are experiencing is designed for speed optimization. It ensures that JS execution is triggered only on user scroll/tap, resulting in faster loading times. The element-rendering scripts won’t execute until prompted by actions from page visitors, so you need to tap/scroll first to get page elements. 

    As it is critical for a good website score, we would recommend leaving it in place, as users tend to start interacting with websites right away. 

    However, you can disable the JavaScript Delay option anytime from the Website Booster > Settings section, which will allow the JS files to start loading right away. Please, note that the speed score will be negatively impacted.

    Regards, Mane

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WebP Ionos Apache2?’ is closed to new replies.