Title: Load Time
Last modified: August 21, 2016

---

# Load Time

 *  [jmkeep](https://wordpress.org/support/users/jmkeep/)
 * (@jmkeep)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/load-time-3/)
 * I love this plugin, but it accounts for 38% of my plugin runtime. Is there any
   way to reduce that?
 * [http://wordpress.org/plugins/wp-gallery-custom-links/](http://wordpress.org/plugins/wp-gallery-custom-links/)

Viewing 1 replies (of 1 total)

 *  [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * (@fourlightsweb)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/load-time-3/#post-4522019)
 * WP Gallery Custom Links does use regular expressions to do the matching for finding
   the links to be replaced, which can be a bit expensive. But unfortunately I’m
   not sure there’s a different way to approach the problem (I’m open to possible
   suggestions). I have gone through in the past and tried to reduce the number 
   of regexes in the code to improve performance, but I’ll keep an eye open for 
   other possible optimizations when I make updates in the future. Sorry =\

Viewing 1 replies (of 1 total)

The topic ‘Load Time’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gallery-custom-links_d3d5d9.svg)
 * [WP Gallery Custom Links](https://wordpress.org/plugins/wp-gallery-custom-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gallery-custom-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gallery-custom-links/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gallery-custom-links/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/load-time-3/#post-4522019)
 * Status: not a support question