0

Do we get any undesired results when we use application cache in combination with page cache in php?

Thanks & Regards, Satya

1
  • Can you define these concepts better in relation to your application? By themselves they don't mean very much. Commented Aug 26, 2010 at 3:46

1 Answer 1

1

Using multiple layers of caching is often a good idea.

I'm going to assume that:

  • "application cache" means a key-value cache like Memcached or Xcache
  • "page cache" means caching the entire page output, via PHP or in an HTTP proxy.

In this case, it's a great idea to use the two together. The "page cache" is a course-grained cache that will frequently miss, but cache hits will have little to no work to do. The "application cache" is more fine grained and will more frequently hit, but some work is still required to assemble this into a full page.

I hope this comes close to what you were asking.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.