in reply to refreshing data across children in Apache
Store the database last-modification-time somewhere. Check your locally stored last-modification-time against the database's. Query the database only if it is has been updated.
I use a simple file for that (just use -M to check the file time).
update: other ways: use IPC, use the database itself, ...
|
|---|