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

(This post was last modified: 06-23-2017, 08:20 AM by natanfelles. Edit Reason: selected )

I think that you can use Memcached (https://codeigniter.com/user_guide/libra...ed-caching).

Add the content selected from the database to a memcached key and get it when load the page.

Also, update the memcached value associated to the same key when you update the post. Then the contents will be the same. Or, if you do not want save in the cache every time that you update a post, you can simply check if the key exists. If it exists, then update.
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