Session handler with CDN
Posted: Mon Jan 31, 2022 7:01 am
Hello,
Following this post viewtopic.php?f=709&t=991392.
Am having issues in terms of how Joomla handles Front-end users after login. Examples :
- a user will be redirected to wrong page after login
- a user will see another username in login module (this other username comes from another logged in user at this moment)
The parameters at Cloudflare was :
Caching:
- ‘Browser Cache Expiration’ to ‘Respect Existing Headers’
Rules :
- Browser Integrity Check: On, Browser Cache TTL: an hour, Cache Level: Cache Everything, Edge Cache TTL: a month
To temporary sort out the issue, settings have been set to:
- ‘Browser Cache Expiration’ to ‘2 minutes’
Rules :
- Browser Integrity Check: On, Browser Cache TTL: an hour, Cache Level: Standard, Edge Cache TTL: a month
But with new setting am having very long TTFB again.
P.S Would Global Config > System > Session Settings > Session handler set to PHP instead of Database help ? Anyone reading in have got some experience with handling joomla users when using CDN ?
Following this post viewtopic.php?f=709&t=991392.
Am having issues in terms of how Joomla handles Front-end users after login. Examples :
- a user will be redirected to wrong page after login
- a user will see another username in login module (this other username comes from another logged in user at this moment)
The parameters at Cloudflare was :
Caching:
- ‘Browser Cache Expiration’ to ‘Respect Existing Headers’
Rules :
- Browser Integrity Check: On, Browser Cache TTL: an hour, Cache Level: Cache Everything, Edge Cache TTL: a month
To temporary sort out the issue, settings have been set to:
- ‘Browser Cache Expiration’ to ‘2 minutes’
Rules :
- Browser Integrity Check: On, Browser Cache TTL: an hour, Cache Level: Standard, Edge Cache TTL: a month
But with new setting am having very long TTFB again.
P.S Would Global Config > System > Session Settings > Session handler set to PHP instead of Database help ? Anyone reading in have got some experience with handling joomla users when using CDN ?