ZenphotoCMS Forum
static_html_cache questions - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: static_html_cache questions (/thread-12198.html)



static_html_cache questions - hackysack - 08-04-2015

Hello -

I have static_html_cache plugin active, yet my html caching doesn't appear to be working, and wanted to check if my setup is correct.

Zenphoto version 1.4.6
On the server, there is a cache_html_directory in the main zenphoto directory.

subdirectories of cache_html are:

  • albums
  • images
  • pages
  • rss
  • sitemap

All of these subs are empty.
Permissions are drwsr-xr-x

Questions:

  1. Are any other plugins required to be active along with static_html_cache?
  2. Is my directory location and permissions correct?

Thanks for any light you shine on this.




static_html_cache questions - hackysack - 08-04-2015




static_html_cache questions - hackysack - 08-04-2015

Update: now the zp/cache_html/rss directory has something, but none of the others.




static_html_cache questions - fretzl - 08-04-2015

Note that all pages have to be visited/viewed once in order to be cached.




static_html_cache questions - hackysack - 08-04-2015

I visited a lot of image pages, and a few albums (not logged in) but don't see even one page cached.




static_html_cache questions - fretzl - 08-04-2015

Maybe you have comment forms enabled ?

Details on what the plugin does (or doesn't) can be found in the plugin info.
(Admin -> Plugins -> the small info button on the same line as
the plugin name)




static_html_cache questions - hackysack - 08-04-2015

Thanks fretzl.

It says "Used to cache Theme pages (i.e. those pages launched by the Zenphoto index.php script.)" so I thought the theme pages image.php, album.php, and index.php would all be cached. Are they not?

Also, I just disabled the comments as you suggested, and still not pages are showing up.

Maybe this plugin just doesn't do what I thought it did.




static_html_cache questions - acrylian - 09-04-2015

The index.php page referred to does mean the root index.php not the theme based index.php.

The plugin does work for me as far as I can see. Please check that the plugin has really set a value for "Static HTML cache expire".