I'm wondering if there is a way that I can mark or remeber that I've seen a particular dir_config during a previous request. The motivation is performance related - so that I can set up for particular set of "PerlSetVar" values only the once. Then subseqeuent requests to that child will use a previously determined value (instanciated object).
IE: in my httpd.conf I have - PerlSetVar myvalue 100 <Location "/test"> PerlSetVar myvalue 200 </Location> <Location "/different"> PerlSetVar myvalue 300 </Location> So - request 1 - GET /test I check dir_config("myvalue") and setup. Can I mark that I was here; sorta like the equivalent of <Location "/test"> PerlSetVar myvalue 200 PerlSetVar signature myvalue_200 </Location> request 2 - GET /test I want to know I was here before because I see that signature was set and I'll recall that. I was hoping that would work but setting a dir_config seems to go into the server-level and not to the calling container. Would there be another approach? Perhaps there is already a signature that would help me uniquely identify which set of containers made the call? Worst case scenario I could hash all the dir_config values and use that as my signature - but I was hoping there would be something cheaper to do. :) TIA and if this is unclear let me know and I'll get more detailed.