performance display of category list
Posted: 21 Oct 2009, 09:50
Hi Jan,
I am a new user of Phoca Gallery which does most of what I require of a photo gallery, thank you very much Jan! However I have a problem for which I hope you have a solution.
I have at the moment 843 pictures that I have organized in 42 categories. They are based on events like holidays, celebrations etc. The category titles start with year and a sequence number, for instance: 2009 (3) holiday in Spain. The category list is displayed in descending order, so the most recent category is displayed first, pagination is set to 20.
The problem I have is that is takes 35 seconds to display the category list. Using pagination to go to the next 20 also takes 35 seconds. This is pretty long and I fear it will be much longer when I have added all my pictures to the gallery, about 10,000 in total. On a test system with 12 categories it takes about 6 seconds.
I thought it would help if I create a descending index on column title of the jos_phocagallery_categories table, but no.
The web host I am using (bluehost.com) is usually very fast.
Any ideas?
Thanks & regards,
Harry
I am a new user of Phoca Gallery which does most of what I require of a photo gallery, thank you very much Jan! However I have a problem for which I hope you have a solution.
I have at the moment 843 pictures that I have organized in 42 categories. They are based on events like holidays, celebrations etc. The category titles start with year and a sequence number, for instance: 2009 (3) holiday in Spain. The category list is displayed in descending order, so the most recent category is displayed first, pagination is set to 20.
The problem I have is that is takes 35 seconds to display the category list. Using pagination to go to the next 20 also takes 35 seconds. This is pretty long and I fear it will be much longer when I have added all my pictures to the gallery, about 10,000 in total. On a test system with 12 categories it takes about 6 seconds.
I thought it would help if I create a descending index on column title of the jos_phocagallery_categories table, but no.
The web host I am using (bluehost.com) is usually very fast.
Any ideas?
Thanks & regards,
Harry