cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Setting Cache Control in B2B is not working

djboyd4715
Participant
0 Likes
768

V2105

B2B

I am trying to make use of the key-value:

storefront.staticResourceFilter.response.header.Cache-Control=public,max-age=600

But this does not seem to work.

I was expecting it to be visible in the head section of the HTML, but it is not there. I also used the following website: https://cache-checker.com/ but, it is reporting that Cache is set to no-cache.

I know that with SAP Commerce Cloud on the Public Cloud - I can do some caching via the portal, and I have activated that.

Any direction if the above key-value is to work with B2B, and if not, what do people typically do to make this available to help with preformance.

Accepted Solutions (1)

Accepted Solutions (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

Hi David,

The HTTP header Cache-Control will be added for the static resources like css files, javascript files, and image files etc. like the screenshot below.

djboyd4715
Participant
0 Likes

Thanks @samuel.yang, that is what I was looking for

Answers (0)