How is cache supposed to work by default?
Is there a server side cache enabled or an extension for large collections?
Offline
Hi dsl25,
There are several levels of cache in Piwigo. Are you talking about something specific?
Offline
Hi, no nothing specific but I just setup a large gallery (of about 15k images under several folders and sub-folders) that will be "frozen" at current state forever. Meaning there won't be any new images added any time soon and no other changes in current structure for a long time.
It's a sort of family archive.
I was wondering whether there is way to speed-up initial loading of thumbs by having them create caches on server - something like that but no precise idea.
Last edited by dsl25 (2021-01-25 04:21:36)
Offline
1) 15k photos is not "large". For Piwigo at least ;-)
2) thumbnails are stored as cache in _data/i directory
Offline
Thanks for this.
But when are those cache generated.
Is there a way to generate them manually without visiting the pages?
Offline
dsl25 wrote:
But when are those cache generated.
When someone visits the page (but I think you had already understood that)
dsl25 wrote:
Is there a way to generate them manually without visiting the pages?
Yes, you can use the appropriate action "generate multiple size" in the photo Batch Manager.
Offline
One more related question if you don't mind:
When running "generate multiple size": does this operation skip existing thumbs in cache or re-creates them?
Offline
I am wondering why my Cache size is still 0 even when some users already visited a bunch of picures. I am also observing that my Piwigo is slower then before upgrade from ver. 11 (I often got error 503). Any idea what I should check? No Apache/PHP setting were changed.
Some multiple size images was also regenerated. Size is not any big (I have deleted all sizes because of the backup before upgrading from ver.11 to ver.12)
Offline