XF provides a possibility to add tabs. (XenForo.Tabs.prototype)
[How To]Adding Tabs to your pages
Is it possible to always reload the tabs on click? The content of a tab should not be cached.
I found the attribute "data-history" but it has no effect on caching of content