I have a view which uses a value in a user_meta key to filter which entries to display. The entries "Group 1" users sees could be quite different from those seen by "Group 2". My question regards how does caching affect this security? If the cache happens to contain information provided to Group 1, will the cached page contain "Group 1 data" until the query the view executes for a Group 2 user replaces it with "group 2 data"? Or does the cached page and view only contain the layout, filter code, etc, but no data until the page is loaded by a user?
I know I can prevent the caching plugin from caching specific pages, but I'd like to avoid reducing performance unnecessarily.
Thanks in advance,
Joe