This SharePoint 2019 tutorial we will discuss how to solve SharePoint 2019 error The blob cache is not enabled in this web application. Image renditions will not be generated until the blob cache is enabled. For information on turning on the blob cache, please review the product documentation.
Scenario: When I was trying for branding my SharePoint 2019 site with unique experience across all the devices. I got the error as The blob cache is not enabled in this web application. Image renditions will not be generated until the blob cache is enabled. For information on turning on the blob cache, please review the product documentation.
Issue: I was trying to define various dimensions for the image to ensure the same CSS across devices in the Image Renditions list. Soon I click that link as part of site settings I was the above error message.
The blob cache is not enabled in this web application error
I have enabled blob cache for this web application as part of the web.config file. See the below code snippet for your reference.
Default code block
< BlobCache location="C:\BlobCache\14" path=" \.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|themedbmp|themedcss|themedgif|themedjpg|themedpng|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv|ogg|ogv|oga|webm|xap)$" maxSize="10" enabled="false" >
If you read the code block Block cache was disabled enabled=”false” Change the code with enabled=”true” and reboot the application pool to fix this issue.
Check this blog for more insight about Image Rendition settings: https://blog.mastykarz.nl/image-renditions-sharepoint-2013/
You may like following SharePoint 2019 tutorials:
- SharePoint 2019 (SAML) Claims provider for authentication in TermStore has been fixed
- SharePoint 2019 modern Team site template missing while creating sub sites
- SharePoint 2019 psconfig upgrade freezed at task2 !!!
- Top 13 SharePoint 2019 new features + Deprecated and Removed Features in SharePoint 2019 Public Preview
- How to change Site Collection Administrator in SharePoint Online or SharePoint 2019/2016/2013
- SharePoint 2019 Download + FREE PDF on SharePoint 2019 Installation Steps Download & New Features
- Blob Cache in SharePoint Tutorial
Hope this helps to solve The blob cache is not enabled in this web application. Image renditions will not be generated until the blob cache is enabled error, happy branding and development in SharePoint 2019 !!!
I am Krishna.Vandanapu a SharePoint architect working in IT from last 13+ years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.