WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use w3_total_cache plugin. But i can`t understand what is going on sometimes. I have enabled database caching and debug info at the bottom. Sometimes on the main page 90-96 db queries, sometimes 495-501. How can be so different results for the same page with the same parameters? Or how can be so much queries sometimes ? What is this meaning? Please explain me:)

share|improve this question

closed as off-topic by Johannes Pille, gmazzap, Pieter Goosen, ialocin, TheDeadMedic Aug 26 '14 at 18:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – Johannes Pille, gmazzap, Pieter Goosen, ialocin, TheDeadMedic
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted

Probably some code on your site caches the result of an expensive operation. When the page is cached by W3TC, if on the very same page generation, cache was being regenerated, you will see the actual queries that operation requires. After that, queries are like the usual page load ones.

Don't worry about it until you see it too often.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.