![]() |
|
ZpBase - long time loading - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: ZpBase - long time loading (/thread-11998.html) Pages:
1
2
|
ZpBase - long time loading - maymar - 24-01-2015 I'd installed zpbase and observe that every page is loading very long (aprox. 2-8second). you can check it -> http://gallery.may.net.pl ZpBase - long time loading - gjr - 24-01-2015 The theme is creating the custom image sizes on the fly. Once these are created your site speed is just fine. On pages that seem slow, the images probably have not been created yet. You can use the cache plugin to pre-create the images if you like, but it is not neccessary, as the site is browsed they are created in the cache. ZpBase - long time loading - maymar - 24-01-2015 It's seems like it didn't work for me. I cashed all photos and still this same. ZpBase - long time loading - Ralf - 25-01-2015 Hi Myamar, compared the loading times of your site with my site which is also zpbase. What makes me wondering: ZpBase - long time loading - maymar - 25-01-2015 yes, I only add adsense code - not other modification. ZpBase - long time loading - acrylian - 25-01-2015 The site feels generally a bit slow for me but the index is really by far slowest. While external code like adsense can cause this if its server hangs it is rather unlikely. I see you have the static_html_cache enabled but normally the source code should note that it served it. This is not the case here. Please take a look at the plugin's options if the expiration option really is set. ZpBase - long time loading - maymar - 25-01-2015 "Please take a look at the plugin's options if the expiration option really is set." ZpBase - long time loading - acrylian - 25-01-2015 Yes, I mean that expired date. If you have the default values as indicated in the comment it should actually work. Please take a look at either the Especially with the plugin enabled the site should not be that slow. ZpBase - long time loading - maymar - 25-01-2015 I'd checked cache_html - there was some files. I delete it and observe if zen make new one - it did new one. So should it work correctly. ZpBase - long time loading - acrylian - 25-01-2015 It should. I very well might be just that your server is slow for some reason. If you say another theme is faster hopefully gjr will have any idea. ZpBase - long time loading - maymar - 25-01-2015 Well I clicked for few minutes and observe what happened during loading this same page. Loadtime was jumping from below 1s to over 10 s on this same page. As you wrote acrylian probably its the server problem - I report it to my hoster. thx. ZpBase - long time loading - SilverSnake - 26-01-2015 It's all the javascript. https://developers.google.com/speed/pagespeed/insights/ The theme is pretty, and honestly the best I've seen, for simple, professional themes, but the coding could be improved. Don't forget also that between the html, css and js, plus any image loaded on the page, is quite a lot of file size, no matter your connection speed. I would really like to see this theme redone with modern code ( I understand that the dev doesn't have infinite time or resources for this, just throwing in my thoughts. My whole ZP install is heavily edited, so I wouldn't even know where to begin helping, but if this thread gets going maybe we can all pitch in and make the dev's life easier to fix it up and make it load super fast. ZpBase - long time loading - acrylian - 26-01-2015 I am not familiar with the theme but I just ran the site through the w3 validator. It is not valid but the "errors" listed are quite minor. Mostly the closing of self closed elements. Somehow the static_html_cache is not working correctly on that site as otherwise it should be much faster after being cached. [i] The theme itself is on Github so I am sure gjr will welcome any help. ZpBase - long time loading - maymar - 27-01-2015 I found other galleries based on zpbase template. When I looked at source code generated in web browser I saw this: for second: for third: and i checked what my gallery report: What's inside script that on my gallery it works worse than on others even when I have much more memory? is it really problem in template? maybe some scripts aren't optimized? I have almost 3000 photos in gallery is it that problem? ZpBase - long time loading - fretzl - 27-01-2015 Have you tried disabling plugins to see if maybe one of them is causing the issue? ZpBase - long time loading - acrylian - 27-01-2015 3000 images should not be a problem itself but not easy to answer for us. If the static html cache is running correctly you should be much faster normally (only if not logged in!). But none of the sites cited seem to use it as other wise there would be a note like this instead: But try what Fretzl suggests in any case. Also take a look here if you haven't: ZpBase - long time loading - maymar - 27-01-2015 @fretzl @acrylian What I saw - when I run page without photos it loading fast and it doesn't matter is it on frontend or on backend ZpBase - long time loading - maymar - 27-01-2015 Ok, I think I found quilt. Longest load = theme script. ZpBase - long time loading - sbillard - 30-01-2015 [quote]So as SilverSnake wrote template should be optimized... Rather, something in the script is doing too much PHP processing. ZpBase - long time loading - maymar - 31-01-2015 I get today report from my hoster; "You will find here the result of execution FINAL REPORT --> Executed Successfully First Test (strace) CGI app load Time = 0.031 seconds Total NFS Read File : 7 (took: 7.6e-05 s) Total NFS Lock : 0 SQL select requests : 0 As you can notice on this result, the server executes looks like problem solved - now I have response time below 1s. |