[wp-meta] [Making WordPress.org] #1773: Reduce Tagregator JavaScript size

Making WordPress.org noreply at wordpress.org
Mon Feb 17 23:12:15 UTC 2020


#1773: Reduce Tagregator JavaScript size
--------------------------------------+---------------------
 Reporter:  walterebert               |       Owner:  (none)
     Type:  enhancement               |      Status:  closed
 Priority:  low                       |   Milestone:
Component:  WordCamp Site & Plugins   |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |
--------------------------------------+---------------------
Changes (by ryelle):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In https://plugins.trac.wordpress.org/changeset/2245877/, the JS file was
 properly minified and updated so that it's now only 205KB. We can't
 necessarily rely on checking `$post` for the shortcode (or body_class),
 since this shortcode could be used on any post on the site, and will
 return incorrectly for archive pages. Now that the file size is more
 reasonable, I think it's OK that we load this on all pages, since the
 browser should cache it anyway.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/1773#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list