@VeenaVikraman you can try to add a path independent rule like - <LocationMatch "\.(jpg|jpeg|png|gif|svg|bmp)$">Header set Cache-Control "max-age=2592000, s-maxage=31536000, stale-while-revalidate=30, stale-if-error=60, public"</LocationMatch>
Check in browser console if requests for common URLs for authoring experience are getting blocked. If you are using a dispatcher, chances are requests are being blocked at that layer.
@varuns48454013 you can refer this article for a similar implementation - Solved: Get Current User by Using Jackrabbit - Adobe Experience League Community - 196414