TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,217
  • Total Topics: 21,351
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 599
  • Total: 599

question about code snippets and site performance

Started by elliel, February 18, 2006, 03:48:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

elliel

Hi

I have a website that has a lot of little code snippets and javascript things on it, some of them would be really cool to use in tiny portal.

But when I was talking to my host a few months ago, he told me that my site was very slow to load and it was mainly due to all the javascripts that were calling to other places.

So this has put me off adding them to my new TP install, as I dont want them to affect the performance of the forum.

Does anyone know if this is true or does it depend on what and where the script is coming from?

eg  the google search box, amazon links, yahoo weather links for cities, quotes of the day, word of the day, all pulling info the sites that are offering it.

Some of them are really cool but Im concerned about them slowing the site down.  If you say they wont then Im happy to post them here for anyone to try.



~thanks

Tucker

Imaging your're going to buy a newspaper. Some of the articles (on the frontpage) are blank and you (client-side javascript) or the seller (server-side php-snippet) hast to collect the missing information from other papers in the store.

That can be a problem, right?

So it is always your decision: is this feature cool enough?

cu, Tucker

bloc

Totally agreed.

You always have to balance what is most important. One or two things to consider..1.) use the blocks to display different blocks(with your code snippets) for different membergroups, and/or....2.) use the articles(php or html) to split up the info among several pages. then link to them on a overview page for example....as opposed to having EVERYTHING on one page and/or in blocks. ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.