Jump to content

<SOLVED> Frontend Loading Slowly Backend Loads Quickly


Recommended Posts

Dear Friends,

 

I am fade up of using Prestashop. I tried lots of things to optimize my site. But failed. Backend loads within a 15 seconds whereas frontend takes upto 1 1.5minuites to start rendering. It will be great if anyone help me.

 

site url is

 

 

Please suggest solution.

 

Thanks

Link to comment
Share on other sites

I tried your site in both Google Chrome and IE8, loaded right away in both with Chrome being a little faster.

You can try increasing your memory in Config.inc.ini, here is an example of mine.

 

 

/* Improve PHP configuration to prevent issues */

ini_set('upload_max_filesize', '100M');

ini_set('default_charset', 'utf-8');

ini_set('magic_quotes_runtime', 0);

ini_set('memory_limit','128M');

 

Also try changng these settings under preferences/ performance:

 

Smart cache for CSS

Set to use CCC for CSS

 

Smart cache for JavaScript

Set to use CCC for Javascript

 

Minify HTML

Set to use Minify HTML after "smarty compile" execution

 

Compress inline JavaScript in HTML

Set to use Compress inline Javascript in HTML after "smarty compile" execution

 

High risk HTML compression

Leave as Keep W3C validation

 

If you are able to edit your php.ini through your host control panel try turning on zlib-compression here is an example of mine.

You will need to scroll the the file to find this part of the code and yours may vary. (I use Ipage)

 

 

Transparent output compression using the zlib library

; Valid values for this option are 'off', 'on', or a specific buffer size

; to be used for compression (default is 4KB)

; Note: Resulting chunk size may vary due to nature of compression. PHP

; outputs chunks that are few hundreds bytes each as a result of

; compression. If you prefer a larger chunk size for better

; performance, enable output_buffering in addition.

; Note: You need to use zlib.output_handler instead of the standard

; output_handler, or otherwise the output will be corrupted.

zlib.output_compression = On (this is off by default)

Link to comment
Share on other sites

Sign in to your account and go to control panel, click on CGI and Scripted Language Support, now click on PHP Scripting, you will see your PHP.ini.

Scroll through it and find the zlib section you can also increase your php memory here as well.

 

 

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

 

max_execution_time = 300 ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

memory_limit =256M ; Maximum amount of memory a script may consume (8MB) (I payed no attentioon to this #)

Link to comment
Share on other sites

Hi Friend,

 

Thanks I got the file. It contains below text.

 

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

 

max_execution_time = 300 ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)

 

Can u tell me shall I make it as below?

 

max_execution_time = 300 ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

memory_limit =256M ; Maximum amount of memory a script may consume

 

Please suggest.

 

Thanks

Link to comment
Share on other sites

Dear Friend,

 

Can I have your website url? I wish to see page loading time. I just want to see whether I am only getting speed issue on ipage or there might be any changes I have to do.

 

Many Thanks

Link to comment
Share on other sites

Hi Friend,

 

Actually from my end site takes approximately 1 minute. I tried different pc's but still issue is same. Also can u tell me which cache I have to enable? That option which is next to force compile is that? I have enabled that already.

 

Thanks

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...