I faced with issue with dispatcher cache.
I see some strange requests to my site.
In case dispatcher cache wasn't created before
my-site.html created as a folder in cache.
Then when user tries to open /my-site.html I see that cache is not created for html file.
Can it be fixed by some dispatcher configurations?
I just found topic with the same issue - Caching Pages with Suffix Paths in AEM/ CQ Dispatcher - WE ARE ONE INSIDE
But it looks like a workaround, not a proper fix.
the problem is that my-site.html cannot exist as a file AND a directory at the same time. That is not a limitation of the dispatcher but of the filesystems. Thus the approach mentioned in the blog is a viable solution.