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 » Wed Aug 15, 2012 1:49 pm

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
Infrastructure Team
Infrastructure Team
Posts: 790
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Templates: importing

Post by hanakin » Mon Sep 08, 2014 8:42 pm

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

Post Reply