Hi,
Is it a good method to use javascript as EE template?. I read that it would slow down the pages. And also they says that it is best to keep js as files outside EE.
Can anyone please advice me?.
thanks in advance!!.
have a great weekend!!.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 06, 2011 7:05am
Subscribe [2]#1 / May 06, 2011 7:05am
Hi,
Is it a good method to use javascript as EE template?. I read that it would slow down the pages. And also they says that it is best to keep js as files outside EE.
Can anyone please advice me?.
thanks in advance!!.
have a great weekend!!.
#2 / May 06, 2011 6:45pm
Hi Nishanth,
If you have any EE tags in your script that need parsing, then yes. You can do some neat stuff that way, but if not, I just keep them outside of EE’s template system. Does that help?