On Tue, 11 Mar 2003, John Levon wrote: > On Tue, Mar 11, 2003 at 03:17:27PM +1000, Allan Rae wrote: > > > How many other pages do you visit that let you change the website > > design? > > Several. Admittedly they usually require login :)
Are they actually using a cookie then for anything other than a session variable? They are using a session (at least that is what php calls it) and that's server side. But we still need to have a browser revalidate. A new theory at the bottom... > Is there some reason we're not presenting several stylesheets and > letting the user choose via their browser ? So far the only browser that lets you choose stylesheets is Mozilla. I have however been meaning to add the alternative stylesheets but I'm still trying to find out how we get on with two sheets needed (one for colour and one for layout). Maybe I'll just set them and see what happens. > > I've tested here with Mozilla-1.1 and your cache preference setting of > > "check when out of date" and mozilla does not appear to revalidate a > > page when it is out of date (for example if "max-age=0" is set for the > > page). > > If this isn't going to work for one of the most popular browsers used by > our audience then I guess we shouldn't enable it. Well, after a bit of a look at the output of phpinfo() I now suspect that the server is effectively overriding my max-age setting. It seems the local server is forcing a max-age of 1 day on all pages including mine so I'll copy my stuff to devel.lyx.org and see what happens there. Allan. (ARRae)
