Ok, Ive been working on a project for a long time. It involves automated
config file building for the nginx web server
Now im adding caching. The user of the software can using the interface
select regex’s to apply caching logic to.
/
If the url /abc-not_to_cache-def/ is passed to nginx does the server
execute both the matches (to_cache, then not_to_cache with not_to_cache
overriding to_cache) or does it stop after the first match (to_cache)?
/
If the url /abc-not_to_cache-def/ is passed to nginx does the server
execute both the matches (to_cache, then not_to_cache with not_to_cache
overriding to_cache) or does it stop after the first match (to_cache)?
: Then regular expressions are checked, in the order of their
: appearance in a configuration file. A search of regular
: expressions terminates on the first match, and the corresponding
: configuration is used.
[…]
Maxim D.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.