Welcome Guest, Not a member yet? Register   Sign In
Cache and time lag
#6

[eluser]bretticus[/eluser]
[quote author="JanDoToDo" date="1265731642"]So all in all I can't compress the output or cache it client side in some way...?[/quote]

How much data are we talking about here (you say "...a very large amount..."?)

Apache can compress the output. PHP (maybe CI) can even do gzip compression. You can cache the file using a CI caching object. You can even store it in memcache or APC (or other op caching extensions.)

If those help, than do that. But the point we were trying to make is that you SHOULD NOT be storing large amounts of data client-side. Furthermore, with AJAX, you probably don't have to.

Is there any way you can get some and not all of the "tree view?" If so, all you have to do is send a query via AJAX that returns a portion of the data and then just populate that portion of the tree via javascript code (which will perform substantially better.)


Messages In This Thread
Cache and time lag - by El Forum - 02-08-2010, 02:25 PM
Cache and time lag - by El Forum - 02-08-2010, 07:37 PM
Cache and time lag - by El Forum - 02-08-2010, 08:00 PM
Cache and time lag - by El Forum - 02-09-2010, 12:24 AM
Cache and time lag - by El Forum - 02-09-2010, 04:07 AM
Cache and time lag - by El Forum - 02-09-2010, 03:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB