You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Timber on middle size website. There are many URL generate with get params - utm, google adwords, atd.
Is there a way, how exclude all pages from creating new timber cache (with transient) and serve cache from page without this param(s).
My code is:
Timber::render( array( 'template-home.twig' ), $context, 600 );
Eg.
for URL example.com?utm_source=example.com serve Timber cache from this page: example.com
It would be very nice if I can set for which params create custom cache, but its not important for me.
Thanks for help
The text was updated successfully, but these errors were encountered:
Hi,
I use Timber on middle size website. There are many URL generate with get params - utm, google adwords, atd.
Is there a way, how exclude all pages from creating new timber cache (with transient) and serve cache from page without this param(s).
My code is:
Timber::render( array( 'template-home.twig' ), $context, 600 );
Eg.
for URL example.com?utm_source=example.com serve Timber cache from this page: example.com
It would be very nice if I can set for which params create custom cache, but its not important for me.
Thanks for help
The text was updated successfully, but these errors were encountered: