I would like to be able to cache pages that have a query. E.g, those with a querystring such as www.domain.com?q=search
We're fronting our installation with Akamai, and Akamai is already caching these URLs, but each 15mins Akamai will go back to the origin and fetch straight from the publisher again. Because there is no cached file for this URL. I'd like to change this.
One way I saw suggested to do this is:
1) Rewrite in apache to www.domain.com.q.search.html (or similar)
2) Then rewrite again in AEM to www.domain.com?q=search - I suspect using etc/map??
Can anyone suggest the rewrite rules I need in 1) and the mechanism I need in 2)
Thanks!