Small question about cache variable
#3

Quote:
Originally Posted by Riddick94
View Post
Why would you cache it? Do you really want to use it all in one single command without multi-threading your queries? If that's really necessary for you, then use y_inline library from YSF or just create a public for SELECT queries. If you need to understand threaded queries, then ****** it and find out everything you need. It is recommended to DO NOT do it your way.
Well, as I said I don't know how this works that's why I am asking here, the reason why I am using it is because, according to wiki about mysql_query I saw this

Quote:

It's highly recommended to thread all your queries (even INSERT & UPDATE).
Use cache_delete() if you don't need the query's result anymore or you will experience memory leaks.

All I want is, simply get a result from the db and utilize them. If cache is not necessary for this purpose, should I set use_cache to false with mysql_query function?

I am still pretty confused with it, I'd appreciate if you can explain me tad more.
Reply


Messages In This Thread
Small question about cache variable - by Sjn - 26.12.2015, 10:25
Re: Small question about cache variable - by Riddick94 - 26.12.2015, 12:26
Re: Small question about cache variable - by Sjn - 26.12.2015, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)