Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

login.cgi?page=style.css Vs <%include style.css%>

Quote Reply
login.cgi?page=style.css Vs <%include style.css%>
Hi.

Every page access is in fact two cgi accesses like this:

1. Conventional Templates As With Gossamer Mail...

login.cgi?t=template;page=style.css
webmail.cgi?sid=;...

With the conventional templates which come with Gossamer Mail....

As against this:
(2) .Modified to replace the login.cgi?t=template;page=style.css

<%include style.css%>

is just webmail.cgi?sid=;....

and also the content served is lower by about 3K (mod_gzip working) if the content in conventional templates is compared.

Qstns:

Is the second option technically correct? Apparently 3K per access is savings on bandwidth.

Having style.css in images directory had further lowered the content by 1 K but then it messed up many things perhaps because it wasn't doen properly ...

Thanx...
HyTC
Quote Reply
Re: [HyperTherm] login.cgi?page=style.css Vs <%include style.css%> In reply to
Any Comments?
Anyone?

HyTC
Quote Reply
Re: [HyperTherm] login.cgi?page=style.css Vs <%include style.css%> In reply to
Yes, making style.css an include won't break anything.

Adrian
Quote Reply
Re: [brewt] login.cgi?page=style.css Vs <%include style.css%> In reply to
Thanks
But then why was it put as a separate cgi call for each access originally?

HyTC