Ok, but ...
This is really confusing and unintuitive. I suspected the answer was something like this, but I could find nothing in the documentation that suggests the implication of something as simple and common as getting parameters.
But more importantly, why is this useful? The result of this is that getting the parameters anywhere in your call stack renders everything above it completely non-cachable, regardless of whether the value is different, important, or even used. I thought the benefit of the ''httpRequest'' space was that you could easily get at request info from a very deep level without needing to pass things down at every level, but now my advice would have to be don''t use it except at the very highest level.
In addition to that, why does the value even get (and stay) cached if there''s no way to ever get to it? It just uselessly fills up the cache with inaccessible junk. (And confuses anyone who might try to understand what''s going on.)
This is really confusing and unintuitive. I suspected the answer was something like this, but I could find nothing in the documentation that suggests the implication of something as simple and common as getting parameters.
But more importantly, why is this useful? The result of this is that getting the parameters anywhere in your call stack renders everything above it completely non-cachable, regardless of whether the value is different, important, or even used. I thought the benefit of the ''httpRequest'' space was that you could easily get at request info from a very deep level without needing to pass things down at every level, but now my advice would have to be don''t use it except at the very highest level.
In addition to that, why does the value even get (and stay) cached if there''s no way to ever get to it? It just uselessly fills up the cache with inaccessible junk. (And confuses anyone who might try to understand what''s going on.)