Skip to content

Commit

Permalink
Fix automattic.com jobs vs work-with-us (#82)
Browse files Browse the repository at this point in the history
* Fix automattic.com jobs vs work-with-us

* Also update second location

* Also look for a9130478a60e5f9135f765b23f26593b header per https://github.com/Automattic/vip-go-mu-plugins-built/blob/master/000-vip-init.php#L307C30-L307C62

* Fix typo

---------

Co-authored-by: Brian Rak <brian.rak@automattic.com>
  • Loading branch information
devicenull and devicenull committed Oct 25, 2023
1 parent 594bd25 commit f6e8261
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ttfb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ SELECT DISTINCT
WHEN platform = 'hostinger' THEN 'Hostinger'
WHEN platform = 'zoneos' THEN 'Zone.eu'
WHEN platform = 'seravo' THEN 'Seravo'
WHEN platform = 'automattic.com/jobs' THEN 'Automattic'
WHEN platform = 'automattic.com/work-with-us' THEN 'Automattic'
WHEN platform = 'wpvip.com/careers' THEN 'Automattic'
WHEN platform = 'wordpress.com' THEN 'Automattic'
WHEN platform = 'a9130478a60e5f9135f765b23f26593b' then 'Automattic'
WHEN platform = 'x-ah-environment' THEN 'Acquia'
WHEN platform = 'x-pantheon-styx-hostname' THEN 'Pantheon'
WHEN platform = 'wp engine atlas' THEN 'WP Engine Atlas'
Expand Down Expand Up @@ -80,7 +81,7 @@ JOIN (
client,
root_page AS url,
REGEXP_EXTRACT(LOWER(CONCAT(IFNULL(respOtherHeaders, ''), IFNULL(resp_x_powered_by, ''), IFNULL(resp_via, ''), IFNULL(resp_server, ''))),
r'(zoneos|seravo|x-kinsta-cache|automattic.com/jobs|wpvip.com/careers|wordpress\.com|x-ah-environment|x-pantheon-styx-hostname|wp engine atlas|wpe-backend|wp engine|hubspot|b7440e60b07ee7b8044761568fab26e8|624d5be7be38418a3e2a818cc8b7029b|6b7412fb82ca5edfd0917e3957f05d89|x-github-request|alproxy|netlify|x-lw-cache|squarespace|x-wix-request-id|x-shopify-stage|x-vercel-id|flywheel|weebly|dps/|hostinger|awex|wp-cloud|zyro.com)') AS platform
r'(zoneos|seravo|x-kinsta-cache|automattic.com/work-with-us|wpvip.com/careers|wordpress\.com|a9130478a60e5f9135f765b23f26593b|x-ah-environment|x-pantheon-styx-hostname|wp engine atlas|wpe-backend|wp engine|hubspot|b7440e60b07ee7b8044761568fab26e8|624d5be7be38418a3e2a818cc8b7029b|6b7412fb82ca5edfd0917e3957f05d89|x-github-request|alproxy|netlify|x-lw-cache|squarespace|x-wix-request-id|x-shopify-stage|x-vercel-id|flywheel|weebly|dps/|hostinger|awex|wp-cloud|zyro.com)') AS platform
FROM
requests)
USING
Expand Down

0 comments on commit f6e8261

Please sign in to comment.