Jump to content

WHMCS slow time to first byte


Recommended Posts

I'm having some issues with my WHMCS pages where the time to first byte is very long compared to the rest of my website.

 

We run Joomla on our site and the time to first byte for Joomla is 0.2-0.3 sec when testing from a server within Europe.

 

However when we test any WHMCS pages on the same server with the same apache and PHP config we get time to first byte times of 4-5 seconds...

This only happens to the WHMCS .php files.

 

I've already switched from using PHPwincache to PHP Opcache (also known as zend optimizer plus).

But this hasn't really helped since the WHMCS files are protected by ioncube so they can't be cached...

 

Is anyone experiencing similar issues or knows of a way to resolve this?

I've already asked WHMCS support but they weren't of much help :(

 

They told me the problem would be with my own server since WHMCS is lightweight software...

But I don't see why that would be the case since I have a fast server:

 

Processor: Intel® Xeon® Processor E3-1230V2 (8M Cache, 3.30 GHz)

Memory: Kingston 32GB (4 x 8GB) DDR3-1333 MHz ECC RAM Unbuffered (KVR1333D3E9S/8G)

SSD: 256GB Crucial M4

Network card: Intel Ethernet Server Adapter I350-T2

Link to comment
Share on other sites

I would question what you are doing in your header/footer as natively WHMCS should render quite quickly, I'm not on anything particularly special and my renders happen in about 200ms. I would also double check your templates_c folder to ensure that it has write permissions.

Link to comment
Share on other sites

It might have something to do with the encoding of the app. Joomla isn't encoded whereas WHMCS is. Have you tried disabling the opcode cacher completely? As you mentioned yourself an opcode cacher isn't going to do you good.

 

And why are you hosting PHP applications on a Windows server?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated