This is really more of a theoretical discussion, but is it better to use links to your css and js files, or to include them with php?
I know that in the first one, you can take advantage of caching, but the second one is much less http requests. Do any of you have an opinion on this?
This reply has been reported for inappropriate content.
If your css/script is less than 4kb then you could use the php include to reduce requests otherwise just call it the normal way
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed