Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#10685 closed enhancement (fixed)

Reduce dashboard incoming links request size

Reported by: niallkennedy's profile 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 16 years ago.
Request number of items used in displayed results. Remove hard-coded English language parameter.

Download all attachments as: .zip

Change History (4)

@niallkennedy
16 years ago

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

#1 @niallkennedy
16 years ago

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

#2 @scribu
16 years ago

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

#3 @ryan
16 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.