Forum OpenACS Q&A: Re: Strange cross-caching of users
you are paranoid ;)! Yes, both
ad_ procs are defined at that point. Like I said, I'm running this script at a (staging) site. The advantage of
ad_register_filter is that you can see the registered filters from the monitoring package.
I think though that the right place to put this is the request processor, because only there you are sure what kind of file a URL really maps to. With abstract URLs you can't tell only by the URL all of the times, e.g. when '/some-file' maps to '/some-file.html'. Also there might be an index.vuh that handles requests for *.html files (not sure if that's really possible), which shouldn't be cached, although the URL ends on 'html'.
If you agree but don't have the time to rewrite your proc then I could give it a try (not immediately though).
Also I think it could be done more efficient with 'string match' instead of regexp, something that should be considered when adding code that is executed upon every request.