![]() |
|
Static HTML Cache plugin - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Static HTML Cache plugin (/thread-10112.html) |
Static HTML Cache plugin - acrylian - 2016-01-03 I don't think so and there have not really been any changes for this plugin. The point of the static cache is to lower load on servers which helps normal shared hosting. Really sure there are no uncached images on the pages not cached? Static HTML Cache plugin - mironb - 2016-01-04 I did cache images in admin menu for whole site and for albums. And it seams that all images are cached. I think the solution for that will be the option to create static_html_cache of whole site and albums and images pages like we have for images. That will be very useful because site with zenpage and 3000+ images is very slow. Please try to create html_cache for this page: Static HTML Cache plugin - acrylian - 2016-01-04 It is not that easy to pre-create the html cache for the whole site. If your site is slow with 3000+ images I am quite sure it is not only because of the missing cached files. Your site/server generally feels quite slow. It is also on the news page that is not that processing heavy actually. I see the cache is working on the links and archiv page. So it is working generally. It does not work on the other pages indeed so it might be the theme that is interfering here. I am not familiar with zpBase so please try an official theme like Zenpage. Also please again look into your server php error log. The Zenphoto log excerpt you posted may not be everything. I did some quick tests with the Zenpage theme and it seems I can reproduce that the index page seems not to be cached for some reason. That needs further investigation and may take some time. Static HTML Cache plugin - mironb - 2016-01-04 Thanks for help and investigation. My site was working without problems on older versions of zenphoto when html_cache was working. I think I was testing the html_cache also on basic theme and the problem was the same but I will try it again and I will check logs of server. Static HTML Cache plugin - mironb - 2016-01-04 I checked and this problem with html_cache also appears on basic theme. I don't have any errors in log of server. If any error appears I will give you a note. Static HTML Cache plugin - acrylian - 2016-01-04 I just also tried on my own webspace which is just fairly standard shared hosting and except the mentioned issue with the index it seems to work as intended (all options are the defaults): http://zenphoto.maltem.de/ Update: So I am quite sure it might be your server, possibly memory issues. But you really should have errros in the server PHP log about that. Static HTML Cache plugin - mironb - 2016-01-04 It's not so easy I did next fresh install of zenphoto. Totally new db and only images. At the bigining html_cache was working...so I started to enable the plugins. For a while everything was working with plugins and zpbase and after making the backup of db it just stopped. Same pages have their html_cache same not. I have no idea why it happens...When I back to basic theme it's not helping Static HTML Cache plugin - mironb - 2016-01-04 For now I have only: Static HTML Cache plugin - acrylian - 2016-01-04 That is not a static cache related error. If you get that error you don't have the comment_form plugin enabled. For some reason a comment rss feed is called that naturally doesn't work without the plugin. Will take a look if there is a check missing. Static HTML Cache plugin - mironb - 2016-01-04 Ok I think I found workaround: So.... On zpbase theme: and html_cache works Static HTML Cache plugin - acrylian - 2016-01-04 Weird you need this workaround but at least you have a workaround. Maybe gjr has any idea why this might happen with his theme. Fretzl (he even zpBase) and I tried and it worked for us as expected so far. Static HTML Cache plugin - mironb - 2016-01-04 As I said earlier that's not a problem of theme. Now with my only a few plugins I can switch to "basic" theme and everything works....but if I switch on "google maps plugin" static_HTML_cache will stop working and after that If I will switch off google maps plugin html_cache will work.... Static HTML Cache plugin - acrylian - 2016-01-04 Do you have thumb display in hte maps marker overlays enabled? Then it might come down to unached images again. If you need maps you could also try the "half official" openstreetmap plugin if that makes any difference (it should not but Google maps shouldn't either…) Static HTML Cache plugin - mironb - 2016-01-05 I don't have thumb display in the maps... I will try openstreetmap when I will have same free time. Thanks for help... Static HTML Cache plugin - mironb - 2016-01-06 Hi I just tried openstreet map plugin. It doesn't work but more interesting for me is that when div id "map-wrap" is on cache_html doesn't work... Static HTML Cache plugin - acrylian - 2016-01-06 Please explain further what doesn't work. Just to be sure: You have to add a function to your theme to be able to use it. Being not "official" no theme has built in support for it. Static HTML Cache plugin - mironb - 2016-01-06 Ok so I installed the file: Static HTML Cache plugin - mironb - 2016-01-06 I was tying also: Static HTML Cache plugin - mironb - 2016-01-06 What is more interesting as I wrote earlier when I enabled goglemap plugin pages with geotagged photos are not cached but pages without geotagged photos are cached... Static HTML Cache plugin - acrylian - 2016-01-06 You have to install the openstreetmap plugin (the file and the folder directly) in the /plugins folder, not /zp-core/zp-extensions. If you did it is no surprise it didn't work. |