Tried but didn't get the required results. I did set the max-age to 0, s-max-age to 0 and stale-while-revalidate to 0. But s-max-age does not change and is reflected as 7200 on publish.
I tried but didn't get the idea for the fields provided in the Headers. If you can tell me which fields do I need to set in the Headers to stop caching, that would be helpful.
I wanted to know according to the standards of AEM. Like if the script is required to be added in ui.frontend or directly in the component's html file.
The component which AEM provides actually renders the links provided from the page properties. But in recent releases the section for social links from the page properties has been removed. So, I don't know how to use that component.