Welcome Guest, Not a member yet? Register   Sign In
Input on caching methods?
#6

caching works really well for concurrent users - or a bunch of people hitting the same page (and the database) at the same time. so even if your page content changes constantly - if you set the cache time for just 5 minutes - you are still limiting the database calls to once every 5 minutes for that page, versus hundreds of calls per second if its very popular. even a cache time of 1 minute would still greatly speed up the response time.

codeigniter by default is going to cache the entire page. so if your content is changing every few seconds then you might need to cache different parts of the page. otherwise its a matter of setting the time appropriately. i'm a huge fan of codeigniter caching because its so easy, and it really makes a difference in the response time of the page.
Reply


Messages In This Thread
Input on caching methods? - by michaelh99 - 04-05-2016, 10:29 AM
RE: Input on caching methods? - by albertleao - 04-05-2016, 06:43 PM
RE: Input on caching methods? - by michaelh99 - 04-06-2016, 05:41 AM
RE: Input on caching methods? - by albertleao - 04-06-2016, 08:59 AM
RE: Input on caching methods? - by michaelh99 - 04-06-2016, 09:15 AM
RE: Input on caching methods? - by cartalot - 04-06-2016, 10:27 AM
RE: Input on caching methods? - by michaelh99 - 04-06-2016, 11:06 AM
RE: Input on caching methods? - by albertleao - 04-06-2016, 02:27 PM
RE: Input on caching methods? - by michaelh99 - 04-07-2016, 06:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB