From: Jon M. <jo...@te...> - 2006-03-24 17:31:38
|
Paul Davis wrote: >Problem seems to raise its head on Safari that because of reloading style >sheets the whole system becomes very slow to load one page. It's a very >real issue and one reason why we're thinking of simplifying the CSS >Paul > > Simpler Java code or simpler for the user to operate? Sounds like a different and opposite bug in Safari. If the settings aren't changing all the time then the first stylesheet that was delivered should be cached in the browser and used for all subsequent template pages. Even the most simple stylesheet use - i.e. plonking a stylesheet file into a directory on a plain old web server and referencing it in plain old HTML files goes wrong for many browsers when the stylesheet is edited and the user reloads the HTML. If only ten year old browsers failed you could tell users to upgrade but when current browsers fail you have to bite the bullet and provide a solution server side. The main thing is to extract all the hardwired creation of CSS statements into a file that looks as much like a CSS file as possible and a processor java class that can do the appropriate substitution of values according to defined algorithms. Jon |