On category pages, we have a custom code that the prices are only seen to login customers but the customer session is not working on category pages. After customer login for some categories pages still in the header not showing customer logged In (signout link not coming), and the prices still not visible.
For some category pages, it is working and the signout option is visible in the header. Also after logout still on some category pages, the customer is logged in and signout option is visible in the header and prices are visible but the customer is already logout. When I disabled FPC from the backend it is working fine but disabling FPC make the page loading speed very slow.