[Phplib-users] controlled page expiry
Brought to you by:
nhruby,
richardarcher
From: Frank B. <fb...@sy...> - 2001-11-26 21:03:07
|
Background: I recently wrote a script to convert my family research database to postgresql; and then wrote a php page to dynamically present this data instead of use the supplied tools which generate static html pages. Since the database contains private information about individuals, I have used phplib sess/auth to control access to the dynamically generated pages. The conversion process will be run run at seemingly random times (sometimes days, weeks or months apart) as my time and interest in this hobby varies. Questions: My database is only updated whenever I perform the conversion routine, so I was thinking it would be nice to allow user to cache pages between conversion runs. I can place the last-changed information somewhere each time the conversion script is run. Once I do that, can I control expiration of php page so that user can cache pages until next conversion process is run? Does anyone have some input as to how well this type of code might actually work in real-life situations? Frank |