I know that master database contains all the versions of an item.
Does the web database also contain all the versions of an item?
Or web database can only contain a single version of an item?
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.
Sign up to join this communityI know that master database contains all the versions of an item.
Does the web database also contain all the versions of an item?
Or web database can only contain a single version of an item?
You are correct. The master database contains all versions of any given item per language.
In normal senario and before sitecore 8.1, The web database only contains a single version of each item, per language.
But, from sitecore 8.1 onwards, there is a scenario where multiple versions of a single item can exist. i.e. when item have an Active Test running for different versions of the same language of that item
https://sitecorefootsteps.blogspot.com/2015/10/multiple-versions-of-item-in-web.html