
Tagged: avia_deep_decode, optimiziation, slow backend
-
AuthorPosts
-
March 25, 2025 at 11:17 am #1480124
Experiencing major performance issues on a WordPress site I’m working on that runs the Enfold theme. When analyzing performance diagnostics with New Relic, I consistently see the
avia_deep_decode
function appearing as a bottleneck.Details:
- The
avia_deep_decode
function is frequently flagged in New Relic performance reports - It appears to be significantly slowing down page load times
- I’m working on optimizing this site and this function appears to be a major blocker
Questions:
- What is the purpose of the avia_deep_decode function in Enfold?
- Is it safe to disable or modify this function to improve performance?
- Are there any recommended alternatives or optimizations for this function?</li
Any guidance would be greatly appreciated as I’m trying to improve the site’s speed without compromising functionality.
Thank you!
March 25, 2025 at 3:26 pm #1480140I also am experiencing speed issues viewing and editing pages.
March 27, 2025 at 11:48 am #1480265Hi,
Thank you for using Enfold.
avia_deep_decode
is a core function needed to properly convert HTML characters in ALB elements. And it is not recommended to remove/change it.
As all builders also our ALB has some overhead that slow down backend pageload.
Consider to switch to a hoster that provides higher performance – and try to increase memory for php and WP.For frontend use caching plugins to speed up pageload – and check that your images are optimized and the dimension uploaded does not exceed the maximum size needed.
Hope this helps you.
Best regards,
GünterApril 24, 2025 at 5:37 pm #1482213Thanks for this answer.
We’re unfortunately experiencing unusually large overhead due to that function and need to optimize it. New Relic is showing 15s+ loading times. Each call invokes wp_load_alloptions which seems redundant. Perhaps those can be saved as some variable or context.
I’m attaching a short loom video in the private content area going through New Relic.Our server resources are strong and we’re already using strong page caching, optimized images, etc. but we’re a high-traffic store and therefore wish to optimize even those instances.
Looking through New Relic, I’m noticing a humongous amount of calls to avia_deep_decode, which is okay. However, one redundant thing is within it, which calls get_bloginfo (and wp_load_alloptions). Tracing get_bloginfo, it only seems to retrieve the charset. Could that somehow be cached on a global level without the need for a function call?
I’m looking to learn if these can somehow be further optimized as to primarily reduce our expensive dedicated server load as well as improve cached performance.
Regards,
NevenApril 30, 2025 at 10:59 am #1483397Checking up on whether this has been noticed.
May 7, 2025 at 3:49 pm #1483776Hi,
Sorry for the late reply.
get_bloginfo (and wp_load_alloptions)
Both functions are core WP and already use WP cache. So it does not make sense to add another level.
Try to check your page layouts if you are using elements that make a callback to server to get content from database – this could be a reason why a cache plugin cannot speed up page load.
Best regards,
Günter - The
-
AuthorPosts
- You must be logged in to reply to this topic.