The 2.2 release has code that refreshes the cached copy of widget.js from the twitter website on a regular basis. However, when hosted on a system where the firewall blocks outbound traffic to external websites, every request to enter a page featuring this block is delayed for 30 seconds while waiting for the http request process to fail.

I think an appropriate fix would be to include an option to turn off this widget.js cache refreshing feature, or to otherwise detect when the port is blocked so that the external request is not made.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Devin Carlson’s picture

Version: 7.x-2.2 » 7.x-2.x-dev
Status: Active » Needs review
FileSize
3.29 KB

A patch to add a configuration page and default caching to off.

Devin Carlson’s picture

Status: Needs review » Fixed

Tested #1 and committed to Twitter Block 7.x-2.x.

  • Devin Carlson committed d24e1fb on 7.x-2.x
    Issue #2327383 by Devin Carlson: Added a page for configuring cache...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.