ZenphotoCMS Forum
Search Cache - 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: Search Cache (/thread-10843.html)



Search Cache - Ralf - 2013-02-13

Hi Guys,

just noticed the following 'issue' which I do not understand 100%:
The cache expiry for the search is set to 30minutes - which is the default date.

What makes me wonders:
The table 'search_cache' still holds entries which are far more older.
I have done a fresh install in the 09.Februrary and the table still holds entries from that date.

I thought that after the expiry date this will be cleaned up.

I am a little bit afraid that when no clean up of the table is done, this table will grow into a data monster.

Would be great if you can clear things.

Cheers
Ralf




Search Cache - sbillard - 2013-02-14

Search entries are removed if the same search is done again and they have expired. (Of course they will be replaced with the new search results then.)

Whenever you do a "refresh database" the search cache will also be cleared.

But, how much storage was infact taken up by those old queries? Was it really enough to be concerned with?




Search Cache - Ralf - 2013-02-14

Hi Sbillard,

it was more a question about how it works than a problem.
Thanks for your explanation it clears things for me.

Cheers
Ralf