Templates: importing

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
Post Reply
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
Infrastructure Team
Infrastructure Team
Posts: 853
Joined: Sat Dec 25, 2010 9:02 pm

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