0

I am trying to optimize a small web application(PHP/MySQL), I have been using Redis as a cache for my DB, and I've gotten to the point of preparing to launch for testing. I've been working through an IP and now setup my domain with full proxy CDN, which I believe caches full static versions of my site. While this seams to defeat the purpose of object caching, I can't find a definitive answer anywhere about this.

Does this style of CDN make in-memory object caching pointless?

MJHd
  • 115
  • 6

1 Answers1

0

When there is a cache miss on the HTML page cache there will be a database query. When using an object cache the database queries are going to be cached and served instead of bothering the database, which will unload your database and benefit you when you have more users/visitors. So depending on how dynamic your app is it will benefit more or less from object caching. E.g. do users log in and access content that has to be generated dynamically...?