Rebuilding the entire cache at one

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Rebuilding the entire cache at one

Post by Zugschlus »

Hi,

rebuilding the entry cache does this job 25 articles at a time and requires manual interaction to do the next 25 articls. This is a major annoyance even for my tiny blog that currently only holds like 460 entries.

Is there any way to do the entire rebuild in one long "batch" operation?

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Rebuilding the entire cache at one

Post by garvinhicking »

Hi!

Still, 460 entries might make the server timout, which would be quite bad.

You could edit the plugin file to replace the number 25 with 100 or so if you like...?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Zugschlus
Regular
Posts: 144
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Rebuilding the entire cache at one

Post by Zugschlus »

garvinhicking wrote: Still, 460 entries might make the server timout, which would be quite bad.
garvinhicking wrote: motivation.
garvinhicking wrote: You could edit the plugin file to replace the number 25 with 100 or so if you like...?
That's a possibility. Would it be possible to have that number configurable from the web interface in some future version?

Additionally, would it be possible to have a script that can be called directly from a shell on the server, should one have shell access?

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Rebuilding the entire cache at one

Post by garvinhicking »

Hi!

Making the number configurable shouldn't be too hard, yes. Just the addition of new language strings is a hassle ;)
Additionally, would it be possible to have a script that can be called directly from a shell on the server, should one have shell access?
That's not really possible because it requires the whole s9y API to work.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply