Thanks Derrik! This was one of the things I was looking for.....
 

Robert P. Reil

Managing Director,

Motorcyclecarbs.com, Inc.

4292 Country Garden Walk NW

Kennesaw, Ga. 30152

Office 770-974-8851

Fax 770-974-8852

www.motorcyclecarbs.com <http://www.motorcyclecarbs.com/>  

 

  _____  

From: Universal Advertising Derrick Peavy
[mailto:[EMAIL PROTECTED] 
Sent: Friday, March 16, 2007 8:20 AM
To: Carbs Sales&Service
Subject: [ACFUG Discuss] (new topic) You CAN use CFINCLUDE to deliver css
file, fewer http requests


Honestly, I didn't follow the cfinclude/css thread after the first post
because it was not what I thought it was. However, if it is even remotely
related, I thought the OP might want to know, you can use CFINCLUDE to
deliver your CSS files in the head of your pages. I do this to reduce the
number of http requests and also because it solves the problem of a user
saving the page locally just as well as using a full qualified path in the
head of the page would. 


<html>
<head>
<cfinclude template="/style/style.css">
</head>

etc.





In the CSS file, nothing changes - nothing. This lets CF deliver the entire
page in one http request, and keeps the style in line. In testing, this
actually sped up my page loads.  126 kb front page in 0.236 seconds. Not
cfinclud'ing the CSS makes no difference on the file size or data size
delivered to the browser. And if you are concerned about the local client
caching the CSS file versus serving the content up each time with cfinclude,
don't. Even Yahoo confirmed internally that you will see less delay and
reduce network bottlenecks (yours and your customers') with fewer http
requests. And with BD, I am caching some pages anyway, so there is (at least
perceptually) no impact. 




_____________ 
Derrick Peavy 
Sales and Web Services 
CollegeClassifieds.com
http://www.collegeclassifieds.com <http://www.collegeclassifieds.com>  
A Service of Universal Advertising, inc.
___________________________________ 



On Mar 16, 2007, at 7:53 AM, [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  wrote:



Ironic thread - considering Dean's signature quote: 

"What is objectionable, what is dangerous about extremists is not that they
are extreme, but that they are intolerant." 

I suggest that we all be more tolerant. I agree that it is sometimes best to
hit the delete key and move on. (Which is what I should have done here too -
but what the L). 






"Shifang (Frank) Sun" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > 
Sent by: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  


03/14/2007 05:37 PM 


Please respond to
[email protected] <mailto:[email protected]> 



To
[email protected] <mailto:[email protected]>      

cc
        

Subject
Re: [ACFUG Community] RE: [ACFUG Discuss] CSS to <cfinclude>    

                




I agree with Dean. I just didn't know how to put it in words so I bit
my "tongue".

On 3/14/07, Dean H. Saxe <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:
> Is it Friday yet?  Or has ACFUG just become Robert's personal tech
> support line?
>
> Don't get me wrong, I'm all for helping fellow members of the
> community, that's why Cameron, Nathan and I originally founded
> ACFUG.  But every thread lately is dedicated to solving Robert's
> latest problem.  I understand you don't have the funds to pay someone
> else to do this for you or to take a class.  However, I am beginning
> to wonder if Robert has the ability to do the work on his own, either.
>
> Perhaps this isn't your strong suite and its time to cut your losses
> and find another way to solve this particular business problem?  Is
> your time best spent on trying to figure out CF, HTML, CSS and
> AbleCommerce or growing your business in other ways?  These are the
> questions I'd be asking myself if it was my business...
>
> Yeah, that was harsh, but tough love is sometimes the best love of all.
>
> -dhs
>
>
> Dean H. Saxe, CISSP, CEH
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> "What is objectionable, what is dangerous about extremists is not
> that they are extreme, but that they are intolerant."
>      -- Robert F. Kennedy, 1964


-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
<http://www.acfug.org?fa=login.edituserform> 

For more info, see http://www.acfug.org/mailinglists
<http://www.acfug.org/mailinglists> 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
<http://www.mail-archive.com/discussion%40acfug.org/> 
List hosted by http://www.fusionlink.com <http://www.fusionlink.com> 
-------------------------------------------------------------





------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
<http://www.acfug.org?fa=login.edituserform>  

For more info, see http://www.acfug.org/mailinglists
<http://www.acfug.org/mailinglists>  
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
<http://www.mail-archive.com/discussion%40acfug.org/>  
List hosted by FusionLink <http://www.fusionlink.com>  
-------------------------------------------------------------


Reply via email to