J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
GDPR + JotCache tip (1 viewing) 
Go to bottom
TOPIC: GDPR + JotCache tip
#7875
John Dagelmore
Admin
Posts: 3522
User Offline
GDPR + JotCache tip 1 Year, 4 Months ago Karma: 74  
In order to allow users to switch between accept/decline cookies and resources the page caching could be a big problem if the same cache is used inconditionally and it could prevent the dynamic switching to work correctly.

If you use JotCache and GDPR together, you actually can make them cooperate to maintain a well performing website.

All you have to do is to open to the JotCache plugin configuration, go to the “Advanced” tab and enter “#cookieconsent_status” into the “Cookies split” field.

After this, you have to disable the “automatic cache management” inside the GDPR component configuration.
This will result in separate cache files for users that allow Cookies and for users who do not allow them, without GDPR purging the cache of a page when accessed with different Cookie settings

Notice that if you are using cookie categories to block third-party domains and resources, this could not be enough and you may need to keep the GDPR parameter “automatic cache management” still active or completely disable JotCache.

PS: if you are using Development Mode in JA template pay attention to disable it otherwise JotCache can't work.
 
Logged Logged  
 
Last Edit: 2019/01/18 11:58 By @store$eco#mm!.
  The administrator has disabled public write access.
Go to top