To do this, it's very simple.
Please ensure that the “Office Sharepoint Server Publishing” feature is activated on all Publishing sites. Also, you should update the location to the best performing drive, add in extra paths, and add in the max-age to expire based on your situation. For example:
Current setting: <BlobCache location="C:\blobcache" path="\.(gif|jpg|png|css|js)$ " maxSize="10" enabled="false"/>
Example Setting: <BlobCache location="E:\blobcache" path="\.(gif|jpg|png|css|js|htc)$ " maxSize="10" max-age="86400" enabled="true"/>
If you have any problems, let me know.
Fadi
Subscribe to:
Post Comments (Atom)
7 comments:
Where can we find this entry?
I have enabled blobcahe by changing the web.config Blobcache to true and my browser is not receiving images. Is there are any other settings I neet to configure?. I do see the .jpg.cache files in the cache folder.
Are you getting broken images appearing? Is it a single server farm or a multi-server farm
Yes, all images are broken. It is a single server in test environment.
what if you right click on the image, copy the url and paste it in your browser, does it still come up with a broken link?
Hi,
I have changed the web.config file in my Servers for the site using Blogs feature. When I try to enable Object cache reset and Disk Based Cache reset and click OK. It throws an error.
Publishing features are enabled at both Site collection & Site level.
Give your thoughts.
Thanks,
RajeshV
Hi,
I have changed the web.config file in my Servers for the site using Blogs feature. When I try to enable Object cache reset and Disk Based Cache reset and click OK. It throws an error.
Publishing features are enabled at both Site collection & Site level.
Give your thoughts.
Thanks,
RajeshV
Post a Comment