Discussion Locked

Which loads faster?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I use NewsPro on a couple of web sites and was wondering which would load the news faster, if I set up a javascript to pull the news or if I used the include statement to pull in the news?

1 reply

by jcovergaar

on how you define "loads faster"
The page will be off your server faster if you use the javascript, but the page will render much more quickly for the end user if you're delivering straight HTML instead of javascript. If your server can handle the additional load, it's probably better to let the server do the work.

This discussion is closed to new replies.