At 15:29 04/12/2003 -0500, you wrote:
"BV" == Brion Vibber brion@pobox.com writes:
Me> * On saving an edit of a page, the software simply *deletes* Me> the cached HTML file. This will trigger the 404 handler on the Me> next hit for the page, which will regenerate the cached file. BV> This limits us to a single web server per wiki or a networked BV> filesystem shared between them.
Yeah, I think you're right. I'm not coming up with a better way to invalidate caches across multiple servers -- except maybe some kind of RPC, which would be real real losey.
Me> * Of course, logged-in users want to get their pages rendered Me> _just_so_, with question marks and [edit] links, etc. They Me> should also have all their "My page" and other links working. BV> We have talk pages and notification for IP addresses, too.
Thanks! I thought about this, but forgot to put it in. I don't have a clever idea for how to do notifications for non-logged-in users with static files.
It's definitely a trade-off -- whether the performance advantage of serving static files would outweigh the loss of functionality from always generating dynamic pages.
~ESP
In the long term when the system will get very busy should we generate a static page for apache to "include" with a module for the dynamic. So that it can be part cached and part live. Just thinking aloud :)
Dave Caroline
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org