Jump to content

TTFB way slower on Fo than on BO


bosniamaj

Recommended Posts

Hello everyone.

I'm setting up a new shop, and I want everything to be as good as possible before launching it.

The problem (for me) is that TTFB time is very different for front office and back office.

For the front office, its always above 500ms, like in the screenshot:Screenshot_9.thumb.png.0fc910a7f6a23f0831bee42394cfc52a.png

But, in the back office, it's much faster. For the first use, it's about 500ms as well, but after that it's like 3-5 ms.

Fist use in BO: 

Screenshot_11.thumb.png.35bac02f10057eb84371423ab39fbbfe.png

After that, cached request in BO is below 5 ms:

Screenshot_10.thumb.png.4145793c0921e2f5d1a5e50b43b41914.png

I'm not an expert for servers, but I have some (basic) knowledge.

My server is located in Germany, VPS with 6GB RAM, Ubuntu and Plesk on it. I use nginx proxied with apache, caching enabled and memcached, as well as PrestaShop's caching in the Performance options.

It's clear to me that the second request in BO is cached and it opens blazing fast, but I don't know why can't I do that with front office.

Does something else make that problem, like the theme or something?

 

Cheers everyone!

Link to comment
Share on other sites

On 10/28/2020 at 2:29 AM, bosniamaj said:

Hello everyone.

I'm setting up a new shop, and I want everything to be as good as possible before launching it.

The problem (for me) is that TTFB time is very different for front office and back office.

For the front paycom office, its always above 500ms, like in the screenshot:Screenshot_9.thumb.png.0fc910a7f6a23f0831bee42394cfc52a.png

But, in the back office, it's much faster. For the first use, it's about 500ms as well, but after that it's like 3-5 ms.

Fist use in BO: 

Screenshot_11.thumb.png.35bac02f10057eb84371423ab39fbbfe.png

After that, cached request in BO is below 5 ms:

Screenshot_10.thumb.png.4145793c0921e2f5d1a5e50b43b41914.png

I'm not an expert for servers, but I have some (basic) knowledge.

My server is located in Germany, VPS with 6GB RAM, Ubuntu and Plesk on it. I use nginx proxied with apache, caching enabled and skywest memcached, as well as PrestaShop's caching in the Performance options.

It's clear to me that the second request in BO is cached and it opens blazing fast, but I don't know why can't I do that with front office.

Does something else make that problem, like the theme or something?

 

Cheers everyone!

Looking for the same, Following this thread.

Thanks for sharing. 

Edited by Chelesajohnson (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...