YOURLS Link Clicks take almost 45 secs to resolve #3336
Unanswered
nathanlang
asked this question in
Q&A
Replies: 3 comments 6 replies
-
Check here https://docs.yourls.org/guide/troubleshooting/first-steps.html#double-check-your-config-php -- enabling debug output will help first analysis and particularly seeing SQL queries and their duration, on the admin page for instance |
Beta Was this translation helpful? Give feedback.
3 replies
-
Ok will give it a try, thanks!
sent from phone
+nathanlang.com
…On Thu, May 12, 2022, 12:03 PM ྅༻ Ǭɀħ ༄༆ཉ ***@***.***> wrote:
So, it looks like it's not your SQL server that's on its knees. Is adding
a new shortlink in the admin slow too ?
If the latency occurs only when clicking a short link, it's either on
YOURLS site when the click is logged, or it's nothing to do with YOURLS at
all. Maybe try the following : add define('YOURLS_NOSTATS', true); in
your config.php, this skips the click logging entirely (obvious downside:
you have no stats). If that does not speed up things, then you'll know the
problem is elsewhere.
—
Reply to this email directly, view it on GitHub
<#3336 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3WJ7L45BD3OQAJS73HROTVJUTWJANCNFSM5VV4L2OA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@nathanlang did you ever fix this? having similar issue, any information would be much appreciated, thanks. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone. I'm hoping someone might be able to help me. When my short links were originally created they were relatively quick to resolve to a page when clicked. Now, it seems that it takes almost 30-45 secs to resolve when clicked on. Could this be an SQL/DB Issue with my webhost?
Is there away I can work to get this sped up as people clicking on the links are not waiting around for them to resolve. Happy to add more info that might be helpful to speed up the links. I've searched the Plugins list and while I found the APC plugins, I was not able to get them working (as yet) with my webhost. Any help would be very much appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions