Here is the problem we're facing :
I have one url :
www.example.com/my-page with a different HTML footer for mobile and desktop.
To know which HTML to use we look for HTTP Headers sent by one CDN (Akamaï) =>
What we want to achieve is to have cache for both mobile and desktop based on that HTTP Header since the URL is the same. Is it possible ? And if yes, how to do it ?
Having both HTML in the DOM is not an option here, for performance reasons.
We played with
contexts in the
#cache array but no success here. Maybe with using
tags, but not sure about how to use it.
Any help would be greatly appreciated.