I have a site in Joomla, and some pages can be cached for some period.
I see meta tags in the HTML :
<meta http-equiv="expires" content="Fri, 29 Jun 2012 11:24:54 GMT" />
<meta http-equiv="cache-control" content="public" />
But my CDN only support HTTP header caching.
Expires: Fri, 29 Jun 2012 11:24:54 GMT
How do I tell Joomla to use HTTP header for caching instead of meta tags in the response body?
After some digging I decided it was best to modify the template I am using.
Instead of writing
followed by
I modified it to
Which seems working
I found this tip at : http://www.teachmejoomla.net/code/joomla-1.5/joomla-1.5-enabling-google-and-browser-cache.html
However, I expected some Joomla API for this with configuration of which implementation to use. Something like session in Rails (most known) and whether to keep it in a cookie or DB..