Title: Timeout when loading large XMLs
Last modified: May 23, 2019

---

# Timeout when loading large XMLs

 *  Resolved [nobug](https://wordpress.org/support/users/nobug/)
 * (@nobug)
 * [7 years ago](https://wordpress.org/support/topic/timeout-when-loading-large-xmls/)
 * Hi.
 * First of all, thank you for the useful plugin.
    We are very happy we don’t have
   to invent the wheel.
 * Unfortunately we found a problem with a timeout when one of our Sitemap XMLs 
   takes too much time to load. The default timeout for the `wp_remote_get` function
   is 5 seconds so we had to improve the parameters of the plugin locally to 10 
   seconds. It would be great if you can also introduce this improvement either 
   via an option or just hardcoded.
 * Thank you! 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * (@ramon-fincken)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/timeout-when-loading-large-xmls/#post-11659992)
 * thank you !
 * you will love this filter
 * `apply_filters( 'http_request_timeout', 5, $url )`

Viewing 1 replies (of 1 total)

The topic ‘Timeout when loading large XMLs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/warm-cache.svg)
 * [Warm Cache](https://wordpress.org/plugins/warm-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/warm-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/warm-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/warm-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/warm-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/warm-cache/reviews/)

## Tags

 * [timeout](https://wordpress.org/support/topic-tag/timeout/)
 * [wp_remote_get](https://wordpress.org/support/topic-tag/wp_remote_get/)

 * 1 reply
 * 2 participants
 * Last reply from: [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/timeout-when-loading-large-xmls/#post-11659992)
 * Status: resolved