Symfony2 HTTP cache: is there a way to ignore query parameters when
generating the cache?
I found a post outing how to exclude parameters from the cache for Symfony
1.4 and I would like to do something similiar for Symfony 2.3.
When using say Adwords a bunch of query parameters will be included in the
uri that have nothing to do with the rendering of the page [gclid, x, y,
utm_source, utm_medium, utm_campaign, utm_content] and I would like a way
to tell the Symfony2 cache that these pages are the same as cache them as
one page:
http://www.example.com
http://www.example.com?gclid=1
Anyone know how to do this?
No comments:
Post a Comment