
On Sun, Sep 11, 2005 at 07:51:35PM +1000, Peter Moulder wrote:
On Sat, Sep 10, 2005 at 10:26:46PM -0700, Kees Cook wrote:
_however_... we use PHP. So I have no idea how to handle that. :P Maybe we can use the publishing script to do our "includes" for us, and go back to just using straight .html files?
Offhand, the only place I can think of where we actually use PHP in a non-static way is on the front page, for the random screenshot. However, I'm unfamiliar with the wordpress stuff.
The wordpress stuff has been removed. Not enough people were using it, and I prefer doing it with static files. The one feature WP had that everyone would have missed going to static was RSS feeds, however I wrote a tool to generate RSS feeds from the static page; works like a charm, and quite lightweight. :-)
I think that we've taken advantage of PHP on some other pages just for convenience's sake. E.g., I think the screenshots page may do this. However I'd bet the same could be achieved via some clever CSS or something.
If the random screenshot on /index.php is indeed the only non-static thing we do with php, then I think we can & should generate static HTML pages ahead of time for all the other pages. People have complained about the doxygen pages in particular being dynamically generated and hence uncached. (I haven't checked whether this is still the case.)
Good points, I think you're right that if we don't really use PHP that heavily, static html could have some strong advantages.
Since we use the publish_web.sh script anyway, if there was any need for doing some processing of pages, seems like it could be added in there.
Bryce