Learn about Centmin Mod LEMP Stack today
Become a Member

WebPerf Cloudflare Cloudflare webP via Polish?

Discussion in 'Web Development & Web Performance' started by Blatchy, Nov 17, 2022.

  1. Blatchy

    Blatchy New Member

    May 16, 2019
    Local Time:
    10:37 PM
    How did you manage this? I am trying out the pro plan..everytime I look its a cache miss and still serving the jpeg.

    Polish is on. Is there anything I need to do for pagerules or on the xenforo side?

    accept-ranges: bytes
    cache-control: public, max-age=2678400
    cf-cache-status: MISS
    cf-ray: 76b47efe2d427c50-LAX
    content-disposition: inline; filename="AP22313221743207-1.jpg"
    content-length: 88427
    content-type: image/jpeg
    date: Thu, 17 Nov 2022 00:54:36 GMT
    etag: "1668042681"
    expires: Sun, 18 Dec 2022 00:54:36 GMT
    last-modified: Thu, 17 Nov 2022 00:54:36 GMT

  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:37 PM
    Nginx 1.25.x
    MariaDB 10.x
    Xenforo attachments by default mask the image extension so Cloudflare won't be able to operate Polish's WebP i.e. Leaner sized css.php for better pagespeed

    so attachment image URL is like below without image extension


    So yes a Cloudflare Page Rule or new Cloudflare Configuration Rule is needed