• Resolved cristianctin

    (@cristianctin)


    Hi,
    Thank you for this excellent plugin.
    I would like to ask you what is the reason that in Lighthouse Report it shows that it Serves the images in next-gen formats, but the Response Headers shows “content-type: image/jpeg” .
    At the same time in PageSpeed Insights it notify me that it does not Serves the images in next-gen formats.
    Is there another way to check if it loads WebP images?
    Thank you

    • This topic was modified 3 years, 12 months ago by cristianctin.
Viewing 13 replies - 1 through 13 (of 13 total)
  • In order to serve WebP to WebP enabled browsers and JPEG to other browses, you must configure Apache .htaccess as described in plugin “Help”.

    Thread Starter cristianctin

    (@cristianctin)

    Hi,
    Thank you for your reply.
    I configured .htaccess as described in Help.
    Also I cleared the cache.
    I do not know what other setting should I do.

    • This reply was modified 3 years, 12 months ago by cristianctin.

    .htaccess itself may not be enough, configured/used Apache modules must be enabled. Maybe you have Nginx server? Maybe you use CDN that is caching first response?

    Thread Starter cristianctin

    (@cristianctin)

    I have used another plugin and was loading webp just fine.
    I have Apache and W3 Total Cache, with no CDN.

    I can only guess that you don’t have either “mod_mime” or “mod_headers” enabled.

    If your WordPress install works with “pretty permalinks”, “mod_rewrite” is enabled

    Thread Starter cristianctin

    (@cristianctin)

    Could you be more explicit on how exactly should I check mod_mime and mod_heders?
    Thank you

    Depends. If you have cPanel you will find it somewhere there.

    https://support.cpanel.net/hc/en-us/articles/360051565714-How-do-I-verify-an-Apache-module-is-enabled-for-my-server-

    Else ask your hosting provider, he would know what is going on. So far, from 1000+ installs, only one user had reported such a problem.

    Thread Starter cristianctin

    (@cristianctin)

    I will contact my hosting provider and let you know.
    Thank you for your kind support.

    Thread Starter cristianctin

    (@cristianctin)

    Hi,
    The provider confirmed me that both “mod_mime” and “mod_headers” are activated on server.
    What should I do next?
    Could be a Theme issue?
    I really need your plugin.
    Thank you

    • This reply was modified 3 years, 12 months ago by cristianctin.

    I do not know. Plugin only compress/create images on backend/admin side. Apache (htaccess) should deliver to WebP enabled browsers.

    W3 Total Cache maybe keeps caching JPEG image? Can you disable image caching? Or temporary disable caching plugin?

    Thread Starter cristianctin

    (@cristianctin)

    Hi
    I disabled W3 Total Cache and now it loads WebP images.
    Response Headers ” content-type: image/webp ”
    Request Headers “Accept image/webp,*/* ”
    Do you think YOAST could work better with your plugin?

    • This reply was modified 3 years, 12 months ago by cristianctin.
    • This reply was modified 3 years, 12 months ago by cristianctin.
    Thread Starter cristianctin

    (@cristianctin)

    Not YOAST of course ??
    Any other Caching Plugin that works better with your plugin.
    I do not see anywhere a donation link.
    Thank you

    @cristianctin

    About caching plugin(s):
    You may check if caching plugin has added it’s own rewrite rules before Warp-iMagick rewrite rules (.htaccess file). If so, move Warp-iMagick rewrite rules back on top of .htaccess file.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘WebP Lighthouse and PageSpeed Insights’ is closed to new replies.