Input on caching methods? |
Make sure you understand the difference between caching the view and caching the data. Once you have the data, php generates views very quickly. You'd have to have remarkable traffic for the view generation to be your bottleneck. Caching your data that comes from a database / api can grant you significant gains though.
I'd recommend checking through the profiler what your biggest bottleneck is and then start tackling it from there. I'd guess that your database calls are what is costing the most, so start off by caching those accordingly. Eventually, if you have optimized everything else and you still need performance, you may want to look at something else for your view generation like a front end framework.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
|
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
|