Member
Member
hackysack   08-04-2015, 13:45
#1

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.

Member
Member
hackysack   08-04-2015, 14:19
#2
Member
Member
hackysack   08-04-2015, 14:28
#3

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

Administrator
Administrator
fretzl   08-04-2015, 16:14
#4

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

Member
Member
hackysack   08-04-2015, 17:38
#5

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

Administrator
Administrator
fretzl   08-04-2015, 19:18
#6

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)

Member
Member
hackysack   08-04-2015, 19:54
#7

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.

Administrator
Administrator
acrylian   09-04-2015, 08:39
#8

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".

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.