Contents
I have enabled SharePoint Blob Cache by modifying BlobCache Element in web.config of my Web Application. In this scenario, all the default SharePoint files (OOB JS and CSS files) come with an appropriate Cache-Control header. However, the files uploaded in a document library still have Cache-Control: Private, max-age=0.
What happens when you flush the Blob cache?
When you flush the BLOB cache, you clear the contents of the BLOB cache for a web application. This is useful if the BLOB cache becomes out of sync with the content. For example, after you restore a content database, the BLOB cache will be out of sync with the content.
What kind of data is stored in a blob cache?
A BLOB cache is a disk-based cache that stores binary large objects (BLOBs) such as frequently used image, audio, and video files, and other files that are used to display web pages.
What is the default max age for blobcache?
Failure to specify a max-age attribute in the BlobCache element of the web.config will result in the default value of 86,400 seconds (24 hours) being used.
What do you need to know about the Blob cache?
BLOB Cache Configuration has the following Parameters: location – This is the file system folder where the SharePoint server stores cached files. Make sure you select the BLOB cache location on a drive with sufficient disk space! path – It is a list of all file extensions that will be cached. File types are separated by a vertical pipe character.
When BLOB types of files are uploaded to a SharePoint site (E.g. Images, CSS, Scripts on pages), they are stored inside the SQL Server content databases in BLOB data fields.
What does the cache do in SharePoint Server?
SharePoint Server provides a disk-based cache that stores files that are used by web pages to help them load quickly in the browser, and reduces the load on the database server when it uses those files.