How do we verify that beacons works fine?

17 views
Skip to first unread message

Krunal Jariwala

unread,
Mar 19, 2020, 1:31:29 PM3/19/20
to ngx-pagespeed-discuss
How do we verify that beacons works fine?

I have following config.

Inside server context
# Ensure requests for pagespeed optimized resources go to the pagespeed handler
  # and no extraneous headers get set.
  location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
    add_header "" "";
  }
  location ~ "^/pagespeed_static/" { }
  location ~ "^/ngx_pagespeed_beacon$" { }


How do I verify that its working fine?

Longinos

unread,
Mar 20, 2020, 8:57:44 AM3/20/20
to ngx-pagespeed-discuss

Hi

Test your server log files. If beacon is working you can see POST request.
With some like
grep -irn beacon /var/log/nginx/*.log
Reply all
Reply to author
Forward
0 new messages