PHP and MySQL caching.

Written by Ren West on October 14th, 2008

Hoping to squeeze a few more cycles out of my VPS, I recently implementing PHP and MySQL caching. So far, I haven’t noticed much in the way of performance increases, but the Apache Bench test results show there is some improvement.

For PHP I used xcache and followed the guide I found here.

For MySQL I followed this guide. I only need to set the value of query_cache_size to enable it. Running mysql> SHOW STATUS LIKE ‘Qc%’; shows that it’s being used.

Share and Enjoy:
  • Digg
  • TwitThis
  • Facebook
  • del.icio.us
  • Reddit
  • E-mail this story to a friend!
  • StumbleUpon
Spruce up your comments with
<a href="" title=""><abbr title=""><acronym title=""><b><blockquote cite=""><cite><code><del datetime=""><em><i><q cite=""><strike><strong>
All comments are moderated before being shown * = required field

Leave a Comment