Url in Sling
has following structure:
Also I have read following information aboutn dispatcher cache:
The Dispatcher always requests the document directly from the AEM instance in the following cases:
If the HTTP method is not GET. Other common methods are POST for form data and HEAD for the HTTP header.
If the request URI contains a question mark "?". This usually indicates a dynamic page, such as a search result, which 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 (this can be configured)
I have 2 misunderstandings:
Will myurl.com/foo.jsp/parameter/values
comply with following rules:
The file extension is missing. The web server needs the extension to determine the document type (the MIME-type).
?
Please provide concrete steps from the begining how to check that concrete url cashes or not.
That Cheatsheet merely describes how a script is selected to render a specific request. It has no relation with the Apache Dispatcher.
As I answered in your other question what the dispatcher caches or not caches is defined by the rules you set (except for the mentioned exceptions).
The steps to check if a particularly request will be cached is take that request and compare it against each one of the dispatcher rules. The last matching rule is applied.
resourceTypes and other sling concepts are irrelevant here. Only the url string is checked. Your example url has no extension so it wont be cached.