I want to disable session for all guests or public visitors which are being stored to joomla's session table in order to reduce hits and serverload. In fact, my website doesn't have front-end log-in nor user access which means I don't have to worry about CSRF nor other attacks since no authentication is required.
I have tried many different settings and optimization such as removing unused extensions (components/modules/plugins) and switching
none(file) but with no luck and the session table keeps growing especially when bots and crawlers are hijacking the traffic.
I have found some hacky workarounds after googling, for e.g. Disabling Joomla Session on Guest/Public (Joomla 3.x) . However, those are unlikely the recommended approaches.
Many have also requested a feature to disable the behavior and the issue can be found on Joomla's Github page: see Please make possible to disable the default Joomla behavior of creating sessions for 'guest users' in the db #8772.
Please guide me if there is any solution or not at all?