Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor redsand

    (@redsand)

    Hi hm_u,

    Sorry to hear about that. Wow, yeah that file shouldn’t be slowing down your site. When I built this plugin, benchmarking and speed has been a primary focus from the beginning. I’ve used P3 Performance Profiler Plugin from the day 1 and tested it on shared hosting servers to simulate the average user experience. I built benchmarking into that script as well. If you click on the link to the jscripts.php it has a line:
    // Generated in: X.XXXXXX seconds

    On yours it said between 1.5 and 4+ seconds and wouldn’t load a few times. That generation time should be on average 0.000500 seconds or less on a shared server. In other words, it should generate in less then half a millisecond (1/1000 of a second). It will be even faster on VPS or dedicated. If it’s taking as long as it is, something is very wrong on the server. I purposely made that script lightweight on server resources so if that is slowing anything down, your site won’t be able to handle very much. WP-SpamShield is recommended by several web hosts for helping to protect and speed up sites so I’m confident it’s not the source of the issue there.

    WP Super Cache is great and we use it on all our sites. Yes, that file can’t be cached – nor should it be – because it has to execute some PHP code that is vital to the anti-spam process.

    One question…do you know what version of PHP is running on the server? If you’re not sure how to check, you can install Send System Info plugin and it will give you that info.

    One suggestion I have, and this is key to debugging anything on a site…is to turn on error logging in your php.ini and turn on WP_DEBUG. (Make sure you have visual error display off so potential hackers don’t get any relevant info and your site stays user friendly.) Logging the errors will usually show you if any process or code are causing the issue. If you need help with any of that let me know.

    Thread Starter hm_u

    (@hm_u)

    Thanks for the detailed answer! I’ve been doing a lot of optimization on my blog recently because my shared hosting seems weak. I’ll look into your suggestions! Currently I have php 5.5.13 activated, but I can change if you think another version might be better.

    I guess I should mark the answer as solved if you’re sure the problem is on my side. I’ll let you know if I learn something.

    Thanks!
    L-E

    Plugin Contributor redsand

    (@redsand)

    You’re very welcome!

    I hear you. If your hosting is THAT weak though it might be time to change hosts. I would definitely try to see if you can figure it out first though. If you go through the debugging process and don’t find any answers, you may want to reach out to your host and see if they have any answers. If they are competent they may offer insight.

    PHP 5.4 and 5.5 should run very well so no issues there.

    Yeah definitely let me know if you find anything out.

    You’re welcome!
    – Scott

    MichaelSkril

    (@michaelskril)

    Hi Scott,

    I have the same issue after upgrading WP to 4.1.1 (from 3.9 something). I never had an issue before but since I upgraded page load gets slower and slower. I did some trouble shooting and found out that spam shield is causing the slow down. I starts using more and more memory till site is not responding any more (1/2 hour after enabling the plugin). Page load is 1+ when this plugin is turned off. I checked also with P3 Profiler and it shows spam-shield using 80% of all used memory.

    Please let me know what you would need to trouble shoot. I have full root access on the server.

    Thanks,

    Plugin Contributor redsand

    (@redsand)

    Hi Michael,

    The only way the plugin would be slowing down like that is if something is seriously wrong on your server or in your setup. As noted in my responses above, benchmarking and speed has been a primary focus from the beginning. I’ve used P3 Performance Profiler Plugin from the day 1 and tested it on shared hosting servers to simulate the average user experience. Since you’ve noted it only happened when you upgraded from WordPress 3.9 to 4.1.1, that would be an indicator that the issue is rooted in something else.

    Since there are likely some very specific issues on your site I’ll need to help you with, please submit a support request on the WP-SpamShield Support Page so we can help you out.

    – Scott

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘jscripts.php slowing page loading’ is closed to new replies.