Templates: importing

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
Post Reply
ChrisSD
Registered User
Posts: 1
Joined: Wed Aug 15, 2012 1:40 pm

Templates: importing

Post by ChrisSD »

I was wondering if there was any major penalty in using many imports in a template? Presumably templates are "compiled" and cached only once (or once in a while) so it wont make much difference?

User avatar
hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 968
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Templates: importing

Post by hanakin »

if by import you mean within html template files then no as they are rendered on the server side. If importing you mean in css then yes as those are rendered on the client side and each import is a unique request
Donations welcome via Paypal Image

Post Reply