Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function: tagCloud
#8
How much extra time does this add in processing the page?

My concern is that your opening every file on every load. If you have 100 people loading the page at the same time you could be processing thousands of requests. I have learned that using the XML structure is a great thing, but also it's a burden. HOWEVER, there are ways around burdens. I believe the best way would be to include a file called TAGS.xml and then have that updated whenever you save or delete a page. That way when you load index.php and include the tags, it's all in one file instead of many more.

On top of that, when you open the file isn't it cached to the browser for quick access?
Clients always want to be able to change the content of their pages, but they are unwilling to do so.

Have you ever coded in your underwear before?
Reply


Messages In This Thread
Function: tagCloud - by n00dles101 - 2009-11-20, 21:04:58
Function: tagCloud - by Zegnåt - 2009-11-20, 22:03:01
Function: tagCloud - by n00dles101 - 2009-11-20, 23:45:04
Function: tagCloud - by ccagle8 - 2009-12-09, 08:13:02
Function: tagCloud - by Jamz - 2009-12-15, 08:52:39
Function: tagCloud - by n00dles101 - 2009-12-15, 19:50:43
Function: tagCloud - by Zegnåt - 2009-12-15, 19:56:06
Function: tagCloud - by internet54 - 2009-12-16, 02:53:14
Function: tagCloud - by Zegnåt - 2009-12-16, 03:53:18
Function: tagCloud - by n00dles101 - 2009-12-16, 05:04:44
Function: tagCloud - by homershines - 2010-04-21, 14:04:28
Function: tagCloud - by Zegnåt - 2010-04-23, 00:57:21
Function: tagCloud - by homershines - 2010-04-23, 02:55:17
Function: tagCloud - by Zegnåt - 2010-04-23, 07:07:39
Function: tagCloud - by kirillaristov - 2010-04-24, 01:11:12
Function: tagCloud - by homershines - 2010-04-24, 04:53:54
Function: tagCloud - by n00dles101 - 2010-04-24, 05:58:51
Function: tagCloud - by homershines - 2010-04-24, 22:31:46
Function: tagCloud - by banter - 2010-04-27, 18:30:05
Function: tagCloud - by n00dles101 - 2010-04-27, 18:59:05
Function: tagCloud - by homershines - 2010-04-29, 00:25:26



Users browsing this thread: 1 Guest(s)