On 9/10/05, Dave Howorth <[EMAIL PROTECTED]> wrote: > Peter Speltz wrote: > > Is it me or is a CSS file a really bad here? Am a missing something > > about CSS? Who views css files except developers? > > If you use the standard Maypole example, then every page header has a > link to an external CSS file that is under the Maypole base URL > (maypole.css). So every time a browser displays a Maypole page, it > immediately makes a second request for the CSS file, which Maypole > processes in the same way. You can see this quite clearly if you have > debugging on - it kind of looks like all your requests get duplicated (I > want debugging to show me the URL! - maybe I'll add that :). > > Seriously inefficient if you're running CGI :( >
Oh. I see. The <link> tag in the header actually starts a new apache request. I had no idea. I do recall seeing two requests for each one. > I liked John's suggestion of restoring the default handler for a static > subdirectory in httpd.conf :) Yeah, I like that too. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Maypole-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-users
