Caching MySQLi in PHP

  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1585

Post 3+ Months Ago

I know it seems like you could just search the topic, but I couldn't find anything on google. Is it even good to try to cache a MySQLi query?

I mean, is it worth it to actually save a queries result to disk, and run all the other code for checking/updating/running a cache instead of just running the query? I know it is in MySQL, but by how much? In MySQLi the performance is supposed to be significantly improved, so I was just wondering. Haven't found as many tutorials on it.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

Check if your previous thread would help you any...

I know that a lot of popular programs (Such as phpBB and other types/kinds of CMSs) cache their SQL Queries and files and other fun stuff :lol:
  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1585

Post 3+ Months Ago

I'm talking about the PHP MySQLi extension, not just MySQL in general. Do you really think I haven't read any of the previous threads that I've posted to?

I guess if you ask a stupid question you get a stupid answer, I was just hoping for some sort of intellectual discussion about the topic because my understanding of how beneficial it actually is, isn't very high.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 45 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.