Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | add-cache-configuration-page-2327383-1.patch | 3.29 KB | Devin Carlson |
Comments
Comment #1
Devin Carlson CreditAttribution: Devin Carlson commentedA patch to add a configuration page and default caching to off.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedTested #1 and committed to Twitter Block 7.x-2.x.