Solved
Dispatcher is not caching when Basic Auth is enabled
I have enabled basic auth from dispatcher for our dev and stage server.
But its not caching content when basic auth is enabled.
If I disable basic auth then it works. For basic auth I have added following code on dispatcher
<Directory "${PUBLISH_DOCROOT}">
<If "req('Host') =~ /(dev|stage)\.example\.com/">
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /etc/httpd/.htpasswd
Require valid-user
</If>
<Else>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Else>
</Directory>
