WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10685 closed enhancement (fixed)

Reduce dashboard incoming links request size

Reported by: niallkennedy Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.4
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Dashboard incoming link widget currently requests the latest 20 citations from Google Blog Search but displays between 1 and 20 items (default 10).

Matching the total number of requested items with the display list size reduces bytes over the wire as well as processing time to convert the RSS string into a mapped array. For users with the default widget settings this cuts the response and subsequent parse in half.

Removed hard-coded home language of English from link URL and feed URL. Results are pulled from all languages, and home language set by Google when visit occurs.

Attachments (1)

dashboard.diff (2.1 KB) - added by niallkennedy 5 years ago.
Request number of items used in displayed results. Remove hard-coded English language parameter.

Download all attachments as: .zip

Change History (4)

niallkennedy5 years ago

Request number of items used in displayed results. Remove hard-coded English language parameter.

comment:1 niallkennedy5 years ago

  • Component changed from Administration to Widgets
  • Owner set to azaozz

comment:2 scribu5 years ago

  • Component changed from Widgets to Administration
  • Milestone changed from Unassigned to 2.9
  • Owner azaozz deleted

comment:3 ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12026]) Request only as many incoming links and we'll display. Props niallkennedy. fixes #10685

Note: See TracTickets for help on using tickets.