@kolluax you can't cache files without extensions.. please refer to Aem adobe documentation as below
https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/dispatche...
Specifying the Documents to Cache
The /rules property controls which documents are cached according to the document path. Regardless of the /rules property, Dispatcher never caches a document in the following circumstances:
Request URI contains a question mark (?).
Indicates a dynamic page, such as a search result that does not need to be cached.
The file extension is missing.
The web server needs the extension to determine the document type (the MIME-type).
The authentication header is set (configurable).
If the AEM instance responds with the following headers:
no-cache
no-store
must-revalidate