/    Sign up×
Community /Pin to ProfileBookmark

Right now I include my CSS with a PHP include, making it inline, but still from an external file, so, Is there any difference in speed when you compare inline CSS with that which is referenced like this:
<link rel=stylesheet type=”text/css” href=”style.css”>
?

Thanks & Regards, Jonnie

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 18.2004 — A linked file is cashed, inline css is not.

If you are re-using the css then use it linked.
Copy linkTweet thisAlerts:
@JavaHead_JonnieauthorSep 18.2004 — OK, done.

Thanks
Copy linkTweet thisAlerts:
@IntensitySep 18.2004 — It does a huge difference. I utilize 3 external style sheets.

Netscape caches the website and it takes my website forever to pull up with a file size with an mediocre 50k.

IE doesn't cache and it pulls up very quickly.

Test it

www.intensedevelopment.net
Copy linkTweet thisAlerts:
@FangSep 19.2004 — It is the initial loading that takes so long in Moz. Re-loading of the site is just as fast as IE.

Maybe it's the applet causing the delay in Moz.
Copy linkTweet thisAlerts:
@JavaHead_JonnieauthorSep 19.2004 — You're right - I use Moz and there is a pretty noticeable difference.

Thanks for the advice - this is almost the best way to improve the speed of my site; the best was adding a Gzip encoding class through PHP.
×

Success!

Help @JavaHead_Jonnie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...