Want to subscribe to topics you're interested in?
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

    9
    2
    3
    May 16, 2019
    Ratings:
    +2
    Local Time:
    10:55 AM
    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

    50,928
    11,808
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,267
    Local Time:
    3:55 AM
    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

    upload_2022-11-17_23-22-25.png

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