Hey All,
my production website is on Magento 2.3.4
but the front-end is slow ( Page load is about 12 Sec )
the back-end loads much faster ( Page Load is about 3 Sec )
I have approx 10 extensions from Amasty & Mirasvit
let me know how can i can troubleshoot this.
Thanks
Solved! Go to Solution.
please check following::
1. check for cacheable blocks:
kindly check cacheable="false" in your theme and 3rd party modules that you have installed.
many themes and modules implement using cacheable="false" and this disables FPC for that Page.
to check this you can run the following command.
grep -r 'cacheable="false"' app/
This will give you a list of all occurrences for cacheable into app folder.
then you need to manually check and update the cacheable false.
Make sure default.xml & catalog XML does not have any cacheable false block
2. check for external services and transaction trace.
setup newrelic APM for all monitoring for code and check the trace of transaction which is taking the time.
if you have any module which checks GEO from IP, then there must be some external services calls for each request.
kindly Accept as Solution if this works for you and give Kudos
please check following::
1. check for cacheable blocks:
kindly check cacheable="false" in your theme and 3rd party modules that you have installed.
many themes and modules implement using cacheable="false" and this disables FPC for that Page.
to check this you can run the following command.
grep -r 'cacheable="false"' app/
This will give you a list of all occurrences for cacheable into app folder.
then you need to manually check and update the cacheable false.
Make sure default.xml & catalog XML does not have any cacheable false block
2. check for external services and transaction trace.
setup newrelic APM for all monitoring for code and check the trace of transaction which is taking the time.
if you have any module which checks GEO from IP, then there must be some external services calls for each request.
kindly Accept as Solution if this works for you and give Kudos
@amitsamsukhahow to configure newrelic as FREE ?
you can signup for a Standard plan.
after that goto APM and it will show you steps to install & configure in your server.
@amitsamsukha thanks
my developer added GEO country redirect in pub/index.php file
it was taking 6+ sec per request