Author Topic: Boost slow product list browse performance  (Read 46290 times)

sirius

  • Jr. Member
  • **
  • Posts: 160
    • OCTeam
  • VirtueMart Version: 3.8.6
Re: Boost slow product list browse performance
« Reply #45 on: August 01, 2011, 16:06:13 pm »
Hi,

only the last one from bunak is needed.

actually installed for us on a VM 1.1.9
J3.10.8 | PHP 7.4.28 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 3.8.9.10622

aforantman

  • Beginner
  • *
  • Posts: 10
Re: Boost slow product list browse performance
« Reply #46 on: September 05, 2011, 06:34:00 am »
Hi All,

I have tried all of the above and nothing has worked.
My production address for the shop is:

http://111.223.236.34/~trebor/index.php?option=com_virtuemart&Itemid=18

I am running this site on a virtual dedicated server
I have version 1.1.9

If the suggestion involves changing code could you please provide a file name, line number, the current code, and the code that will be replacing that.

Thanks in advance for your help.

Cheers,

Anthony.

giziro

  • Beginner
  • *
  • Posts: 4
Re: Boost slow product list browse performance
« Reply #47 on: September 29, 2011, 21:54:46 pm »
Hi everyone,

I am posting this because I had the same problem with a VirtueMart Catalog slow down and this topic and the solution code inside helped me with optimization, you can check it out:

http://forum.virtuemart.net/index.php?topic=53806.0

Cheers!

mbit

  • Jr. Member
  • **
  • Posts: 323
Re: Boost slow product list browse performance
« Reply #48 on: November 23, 2011, 20:47:45 pm »
 i got about ~240 queries in flypage and 150 in homepage. The waiting time of the html is 1-2seconds! while all the rest images files etc are not more than 1.5sec!  I have about ~700 products and this delay has been a pain :/ .  I am usins 1.1.9 and i I tried all of these scripts but didnt see big changes in the delay of html file. any ideas? a

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10432
  • VirtueMart Version: 3+
Re: Boost slow product list browse performance
« Reply #49 on: November 23, 2011, 21:12:44 pm »
You can force cache of images, css, and js files in htaccess

<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 15 Apr 2012 20:00:00 GMT"
</FilesMatch>


ALSO; most of the time its the template.

Whats your google page speed score?
http://code.google.com/speed/page-speed/download.html



mbit

  • Jr. Member
  • **
  • Posts: 323
Re: Boost slow product list browse performance
« Reply #50 on: November 23, 2011, 21:56:36 pm »
You can force cache of images, css, and js files in htaccess

<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 15 Apr 2012 20:00:00 GMT"
</FilesMatch>


ALSO; most of the time its the template.

Whats your google page speed score?
http://code.google.com/speed/page-speed/download.html


instead of that i have
Quote
# disable the server signature
ServerSignature Off

#RewriteBase
#####################################################
# CONFIGURE media cachingFileETag None
FileETag None
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A600
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A604800
ExpiresByType text/css A604800
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType text/plain A86400
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType video/x-flv A2592000
ExpiresByType application/pdf A2592000
ExpiresByType text/html A600
</IfModule>

<ifModule mod_headers.c>
  <filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
    Header set Cache-Control "max-age=2592000, public"
  </filesMatch>
  <filesMatch "\\.(css)$">
    Header set Cache-Control "max-age=604800, public"
  </filesMatch>
  <filesMatch "\\.(js)$">
    Header set Cache-Control "max-age=216000, private"
  </filesMatch>
  <filesMatch "\\.(xml|txt)$">
    Header set Cache-Control "max-age=216000, public, must-revalidate"
  </filesMatch>
  <filesMatch "\\.(html|htm|php)$">
    Header set Cache-Control "max-age=1, private, must-revalidate"
  </filesMatch>
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary Accept-Encoding
  </FilesMatch>
</ifModule>
RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]
#####################################################
pagespeed gives me 88
+ my server has Connection close not Enabled Keep-Alive.
My issue is with the html file that does sooo long in order to load and i dont know why :/

ir_valentin

  • Beginner
  • *
  • Posts: 6
Re: Boost slow product list browse performance
« Reply #51 on: January 09, 2012, 20:44:58 pm »
Hi, find the modified file attached...

Thank you for the file, it's much faster now.I have over 3000 products and before had to wait 10 seconds or more.