```coffeescript
define (require) ->
  $ = require('jquery')
  require('mockjax')

  # GET

  $.mockjax (settings) ->
    # settings.url == '/contents/<uuid>'
    service = settings.url.match(/\/contents\/(.*)$/)

    if service
      return {proxy: 'data/' + service[1] + '.json'}

  $.mockjax (settings) ->
    # settings.url == '/search?q=physics'
    service = settings.url.match(/\/search\?q=physics$/)

    if service
      return {proxy: 'data/search.json'}
```

Add response time global setting option to file
user
```coffeescript
define (require) ->
  $ = require('jquery')
  require('mockjax')

  $.mockjaxSettings.responseTime = 500 # Set the mock latency for all requests

  # GET

  $.mockjax (settings) ->
    # settings.url == '/contents/<uuid>'
    service = settings.url.match(/\/contents\/(.*)$/)

    if service
      return {proxy: 'data/' + service[1] + '.json'}

  $.mockjax (settings) ->
    # settings.url == '/search?q=physics'
    service = settings.url.match(/\/search\?q=physics$/)

    if service
      return {proxy: 'data/search.json'}
```
assistant