Re: Simple question about proxy cache

On 22/03/13 14:11, Maxim D. wrote:

This looks like valid regular expression (try pcretest if unsure), but
from maintainability point of view I would recommend to use multiple
normal prefix or exact match locations instead of trying to combine
them into a single regexp.

Yes, you’re probably right. Maybe I should just put all the repeated
stuff in a text file and use include on each location requiring it. I
guess an include file can contain another include directive. Easy enough
for me to try it out.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs