# Re: Simple question about proxy cache

**URL:** <https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227660>\
**Category:** NGINX\
**Created:** [March 22, 2013, 4:40pm UTC](https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227660 "2013-03-22T16:40:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [March 22, 2013, 4:40pm UTC](https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227660/1 "2013-03-22T16:40:13Z")

</div>

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.
