TOPIC: Filter tracking URI Parameters

Filter tracking URI Parameters 05 Jan 2017 23:34 #1856

I've noticed a heap of cache files being created for the same page just just because the URL contains a tracking parameter. Is it possible to ignore these so it will leverage an existing cache file?

Example Below:

/?gclid=CIjv69jOmNECFZJ_vQodUDoAVw com_content article 1 (2016-12-29 17:57:12) en-GB

Joomla version : 3.6
JotCache version : 5.3.0
site template:
system plugins :
The administrator has disabled public write access.

Filter tracking URI Parameters 23 Jan 2017 03:01 #1866

Hi,

I am using 5.3.2. There are two options for you to try out

1. By adding variables/url parameters manually for which you want to avoid creating the cache.

In [Joomla Administrator]->Extensions->Plugins->JotCache, there is option named "Global URL Exclusion". Give there parameters,separated by comma for which you don't want to create cache e.g. gclid,CampaignCode,trk .

This means if you have cache page for www.example.com then if some request comes with google tracking code like www.example.com?gclid=1234 then JotCache will not create a new cache page every time but will serve already cached page for www.example.com.

2. As giving parameters manually is hard as there can be any from bots, curl requests, campaigns, adbots etc. So you can avoid any URL which query parameters from being cached by disabling with boolean option name 'Exclude URLs with Query String' to 'Yes' in [Joomla Administrator]->Extensions->Plugins->JotCache->Advanced.

Joomla version : 3.6
JotCache version : 5.3.2
site template:
system plugins :
The administrator has disabled public write access.

Filter tracking URI Parameters 23 Jan 2017 06:23 #1868

Hi,

Wrote answer before but don't know what happened. There are two options

1. Manually add query parameters for which you want to disable cache creation in
[Joomla Administrator] -> Extensions -> Plugins -> JotCache -> Plugin tab -> "Global URL Exclusion" option

Here set query parameters separated by comma e.g. gclid,CampaignCode,trk

So when someone visit webpage at www.example.com which already has cached version then www.example.com?gclid=123 will not create the cache but will servce existing one.

Problem here is that you may don't know which query parameters to add without wait and see policy e.g. someone will curl can visit with timestamp as query parameter like www.example.com?123123123

2. Second way to exclude all pages with query parameters to be cached by setting
'[b]Yes[/b]' to [Joomla Administrator] -> Extensions -> Plugins -> JotCache -> Advanced  tab -> "Exclude URLs with Query String"



Joomla version : 3.6
JotCache version : 5.3.2
site template:
system plugins :
The administrator has disabled public write access.
Time to create page: 0.323 seconds
We have 64 guests and no members online
Copyright © 2015 JotComponents
We have 64 guests and no members online
Copyright © 2018 JotComponents