Question: what are the caching works in drupal?
Answer: The application-level caching in Drupal ensures that the cached pages are separately stored from the site content (which goes into the database). You can't set this up, except for guiding Drupal where to save cached pages explicitly.