wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Removes all Traffic Guide related code

Open aneeshd16 opened this issue 2 years ago • 2 comments

Proposed Changes

Context: pau2Xa-4d3-p2

  • Removes all Traffic Guide related code.
  • Redirects /marketing/ultimate-traffic-guide to https://wpcourses.com/course/intro-to-search-engine-optimization-seo/

Testing Instructions

  • Go to /marketing/ultimate-traffic-guide and confirm that you are redirected to https://wpcourses.com/course/intro-to-search-engine-optimization-seo/
  • Confirm that the thank you page works correctly by purchasing a domain.

Pre-merge Checklist

  • [x] Have you written new tests for your changes? (Removed tests)
  • [ ] Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)? -NA
  • [x] Have you checked for TypeScript, React or other console errors?
  • [ ] Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data -NA
  • [ ] Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)? -NA

aneeshd16 avatar Aug 11 '22 07:08 aneeshd16

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

App Entrypoints (~28 bytes removed 📉 [gzipped])

name           parsed_size           gzip_size
entry-stepper        -27 B  (-0.0%)      -28 B  (-0.0%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~7151 bytes removed 📉 [gzipped])

name                             parsed_size           gzip_size
marketing                           -18735 B  (-2.8%)    -5001 B  (-2.7%)
checkout                             -7492 B  (-0.5%)    -2547 B  (-0.6%)
site-purchases                        -385 B  (-0.0%)      -59 B  (-0.0%)
signup                                -385 B  (-0.1%)      -58 B  (-0.1%)
purchases                             -385 B  (-0.0%)      -59 B  (-0.0%)
plans                                 -385 B  (-0.0%)      -59 B  (-0.0%)
marketplace                           -385 B  (-0.1%)      -58 B  (-0.0%)
jetpack-connect                       -385 B  (-0.0%)      -60 B  (-0.0%)
jetpack-cloud-pricing                 -385 B  (-0.1%)      -57 B  (-0.0%)
email                                 -385 B  (-0.1%)      -59 B  (-0.0%)
domains                               -385 B  (-0.0%)      -83 B  (-0.0%)
accept-invite                         -385 B  (-0.1%)      -58 B  (-0.1%)
woocommerce-installation               -27 B  (-0.0%)      -17 B  (-0.0%)
themes                                 -27 B  (-0.0%)      -17 B  (-0.0%)
theme                                  -27 B  (-0.0%)      -17 B  (-0.0%)
stats                                  -27 B  (-0.0%)      -18 B  (-0.0%)
settings-writing                       -27 B  (-0.0%)      -16 B  (-0.0%)
settings-security                      -27 B  (-0.0%)      -18 B  (-0.0%)
settings-performance                   -27 B  (-0.0%)      -18 B  (-0.0%)
settings-jetpack                       -27 B  (-0.0%)      -18 B  (-0.0%)
settings-discussion                    -27 B  (-0.0%)      -20 B  (-0.0%)
settings                               -27 B  (-0.0%)     -105 B  (-0.1%)
scan                                   -27 B  (-0.0%)      -19 B  (-0.0%)
purchase-product                       -27 B  (-0.0%)      -19 B  (-0.0%)
posts-custom                           -27 B  (-0.0%)      -21 B  (-0.0%)
posts                                  -27 B  (-0.0%)      -21 B  (-0.0%)
plugins                                -27 B  (-0.0%)      -18 B  (-0.0%)
people                                 -27 B  (-0.0%)      -19 B  (-0.0%)
migrate                                -27 B  (-0.0%)      -19 B  (-0.0%)
media                                  -27 B  (-0.0%)      -12 B  (-0.0%)
jetpack-social                         -27 B  (-0.0%)      -18 B  (-0.0%)
jetpack-search                         -27 B  (-0.0%)      -19 B  (-0.0%)
jetpack-cloud-settings                 -27 B  (-0.0%)      -18 B  (-0.0%)
jetpack-cloud-plugin-management        -27 B  (-0.0%)      -18 B  (-0.0%)
jetpack-cloud-partner-portal           -27 B  (-0.0%)      -19 B  (-0.0%)
jetpack-cloud-agency-dashboard         -27 B  (-0.0%)      -19 B  (-0.0%)
jetpack-cloud                          -27 B  (-0.0%)      -16 B  (-0.0%)
hosting                                -27 B  (-0.0%)      -18 B  (-0.0%)
home                                   -27 B  (-0.0%)      -13 B  (-0.0%)
help                                   -27 B  (-0.0%)      -17 B  (-0.0%)
gutenberg-editor                       -27 B  (-0.0%)      -19 B  (-0.0%)
google-my-business                     -27 B  (-0.0%)      -20 B  (-0.0%)
earn                                   -27 B  (-0.0%)      -17 B  (-0.0%)
backup                                 -27 B  (-0.0%)      -19 B  (-0.0%)
add-ons                                -27 B  (-0.0%)      -19 B  (-0.0%)
activity                               -27 B  (-0.0%)      -18 B  (-0.0%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Async-loaded Components (~368 bytes removed 📉 [gzipped])

name                                                              parsed_size           gzip_size
async-load-calypso-blocks-editor-checkout-modal                        -590 B  (-0.1%)      -97 B  (-0.0%)
async-load-calypso-my-sites-current-site-stale-cart-items-notice       -385 B  (-0.5%)      -54 B  (-0.3%)
async-load-calypso-my-sites-checkout-modal                             -232 B  (-0.0%)      -57 B  (-0.0%)
async-load-masterbar-cart-masterbar-cart-wrapper                        -27 B  (-0.0%)      -18 B  (-0.0%)
async-load-design-playground                                            -27 B  (-0.0%)      -18 B  (-0.0%)
async-load-design-blocks                                                -27 B  (-0.0%)      -21 B  (-0.0%)
async-load-design                                                       -27 B  (-0.0%)      -18 B  (-0.0%)
async-load-calypso-reader-sidebar                                       -27 B  (-0.0%)      -19 B  (-0.1%)
async-load-calypso-my-sites-current-site-notice                         -27 B  (-0.0%)      -18 B  (-0.1%)
async-load-calypso-components-web-preview-component                     -27 B  (-0.0%)      -17 B  (-0.0%)
async-load-calypso-components-jetpack-sidebar                           -27 B  (-0.0%)      -18 B  (-0.0%)
async-load-calypso-blocks-jitm-templates-sidebar-banner                 -27 B  (-0.0%)      -19 B  (-0.1%)
async-load-calypso-blocks-jitm-templates-notice                         -27 B  (-0.0%)      -18 B  (-0.1%)
async-load-calypso-blocks-jitm-templates-default                        -27 B  (-0.0%)      -19 B  (-0.1%)
async-load-calypso-blocks-inline-help-popover                           -27 B  (-0.0%)      -13 B  (-0.0%)
async-load-calypso-blocks-app-banner                                    -27 B  (-0.1%)      -19 B  (-0.2%)
async-load-automattic-help-center                                       -27 B  (-0.0%)      -13 B  (-0.0%)

React components that are loaded lazily, when a certain part of UI is displayed for the first time.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

matticbot avatar Aug 11 '22 07:08 matticbot