Slowness in get_retina_from_url()
-
Hello!
We’re using the free version on a Pantheon.io site. Their live environments don’t have any write permissions on code (except for the uploads directory) … and their uploads directory are actually symlinked to another directory where media/files are actually stored. More on that here, if it’s helpful: https://pantheon.io/docs/platform-considerations/#write-access-on-environments
We’ve seen some real slowness, mostly centered around WP Retina 2x, and getting the retina version of an image from a url. Here are some screenshots from New Relic showing the call stack where the slowness generally occurs.
It seems like there’s always a check to make sure the path exists. We’ve also seen some reports pointing directly to wp_mkdir_p(), which is called when you try to get the current upload directory.
Do you have any clues as to what might be causing the slowness given the server environment characteristics I mentioned above?
Thank you!
- The topic ‘Slowness in get_retina_from_url()’ is closed to new replies.