Improve logic for determining site and cache typr
Improve logic for determining site and cache typr

EasyEngine/easyengine,liquidia/easyengine,mehulsbhatt/easyengine,pjv/easyengine,rtCamp/easyengine,mehulsbhatt/easyengine,Jurisdesk/freedoms,liquidia/easyengine,skmezanul/easyengine,rjdp/EE-dbmigrate,skmezanul/easyengine,pjv/easyengine,rjdp/EE-dbmigrate,Jurisdesk/freedoms,harshadyeola/easyengine,rjdp/EE-dbmigrate,gdm/easyengine,mehulsbhatt/easyengine,pjv/easyengine,EasyEngine/easyengine,gdm/easyengine,harshadyeola/easyengine,rtCamp/easyengine,Jurisdesk/freedoms,harshadyeola/easyengine,liquidia/easyengine,gdm/easyengine,rtCamp/easyengine,skmezanul/easyengine