Cache checking whether user is an admin
Created by: SunilMohanAdapa
Currently, with each page load, we check if the user is an admin. This leads to an SQL query on each page load. This can be avoided if the result is cached in the session.
Created by: SunilMohanAdapa
Currently, with each page load, we check if the user is an admin. This leads to an SQL query on each page load. This can be avoided if the result is cached in the session.