zpSkeleton: Speed: Load time 11sec with footer, 2sec without.

Hello!

I have under 1 week worked with the zpskeleton theme if it or zenphoto is the slow part. Or if my server is the issue.

I have now figured out that if i remove the footer called "latest photos" on zpSkeleton startpage the load time goes from 11 sec to 2 sec.

Is this becouse my cache is not working?
(it looks like it is, same photos all the time at the bottom)

Thank you for ideas on how to improve the performance on zpSkeleton/Zenphoto.

Thank you!

(I may have missed something, just needed to write my success before dinner.) brb

Comments

  • acrylian Administrator, Developer
    Well, surely latest photos don't change if you don't add new..;-)

    Note that if you refer to the static html cache plugin it is not active if you visit your site being logged in.
  • alper Member
    hmm ok, but i just tested logged in and not logged in. Its the same shieet.

    I think

    1. something wrong with the footer.
    2. something wrong with the cache.
    3. still my server???

    Becouse if i visit the startpage, and it should have chached, then next visit should be much faster. But it still takes 7 seconds.

    But the sub-albums takes 2 seconds.

    So i will remove the footer until i figure out how to use it without that extra time loose.

    Thank you for response!

    I really wonder what the creator of the theme will say :))
  • acrylian Administrator, Developer
    Did you look if the page is cached acutally (/cache_html/) Within the source code at the bottom there should be something noted as well.
  • gjr Member

    I really wonder what the creator of the theme will say :))

    I have no issues. Provide a link. The bottom you speak of uses standard Zenphoto functions. I will provide the code here, as you should have:

    `

    printImageStatistic(8,'latest','',false,false,false,40,'',190,190,true,false);

    `

    as in your case of latest images, or for random option:
    `

    printRandomImages(8,'random-image','all','',190,190,true);

    `

    Wild guess is it is not the theme, but your image dimensions. Try Garland theme, I believe it uses these functions as well?, but not sure. Could be a help troubleshooting.
  • vincent3569 Member, Translator
    we have a similar trouble in the past :
    http://www.zenphoto.org/support/topic.php?id=39450

    realy, could you provide a link ?
    how many pictures are on your gallery ? are they protected ?
    what are their size ?
    do you have your issue when you are logged in or not ?
    could you try Garland or zpApArdoise with use printImageStatistic and printRandomImages ?

    according to me, there is a performance problem on one of these functions, but it is difficult to identify the specific context in which there is bad performance.
  • alper Member
    I cant post the gallery here, its private photos :)
    If someone is interested you can mail me at zp@ki-n-g-o-f-p-ages.com (without the lines)

    acrylian:
    Yes i think thats the issue, becouse i only see folders in cache_html, no file there.

    What could be the problem?

    Thank you very much.
  • acrylian Administrator, Developer
    Do you have the static_html_cache plugin enabled at all? If not of course there are no files. If there are no files, you probably - as always - have an error somewhere.
  • alper Member
    Yes you are right, i didnt have that ENABLED.

    I tought it was with cachemanager.

    But its enabled now, and still nothing added in the cache_html folder.

    What could be the problem? gaaah

    Thank you!
  • alper Member
    Hmm to be more clear.

    Inside the /cache_html/pages folder there is nothing.

    But inside /cache_html/albums and /cache_html/images
    i see some files.

    What does this mean?

    Still very slow with the f**** footer.

    best regards
  • Caching does not happen when you visit the side logged in as the administrator. Try logging out and see if that creates files. If not you will need to check all your error logs.
  • I have the same issue... my pix are large and many (over 6GB worth). If I remove the bottom images, the page loads in about 2.5 secs. If I leave the bottom images (random or latest) the page loads in over 50 secs.

    Needless to say the images are gone...

    Here's the site: http://many-roads.com/galleries
Sign In or Register to comment.