Welcome Guest, Not a member yet? Register   Sign In
Query Caching or NOT?!!!
#1

Hi to all developers...
I'm using last version of CI, created a blog system (some posts, series, commenting, payment link, login,... and more) and want run it on a shared host.

In order to get best performance, I want to use CACHE. As you an option is to cache whole page, but I think it is not good (at least for me!). Another option is Query Caching, that I think it's good (but not sure!). Instead to get a post or other thing from database (for second attempt and up), it read from generated files. And when I update a post, I could delete files in order to regenerating.
(I test output profiler to see loading time and memory usage, loading time is different and same to when do not use query caching, memory usage is a little more.)

My Questions:
What's your opinion about this option? What are advantages/disadvantages? How could I handle this issue in best way? What about other options (like libraries)? And any guide to reach best performance for CI app.

thanks to all (especially experts!) Smile
Reply


Messages In This Thread
Query Caching or NOT?!!! - by pb.sajjad - 06-21-2017, 06:13 AM
RE: Query Caching or NOT?!!! - by rtenny - 06-23-2017, 08:01 AM
RE: Query Caching or NOT?!!! - by natanfelles - 06-23-2017, 08:13 AM
RE: Query Caching or NOT?!!! - by kilishan - 06-23-2017, 09:15 AM
RE: Query Caching or NOT?!!! - by ivantcholakov - 06-24-2017, 11:07 AM
RE: Query Caching or NOT?!!! - by spjonez - 06-26-2017, 12:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB