#  Copyright 2014 Google Inc. All rights reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

application: sample-app
#application: green-pear
#application: ilffwc
version: 1
runtime: python27
api_version: 1

threadsafe: true

libraries:
- name: webapp2
  version: latest

builtins:
- remote_api: on

handlers:
- url: /
  script: browser_redirector.app


- url: /chrome/
  static_dir: chrome/
  
- url: /fonts
  static_dir: fonts/
  mime_type: text/richtext 
  #HACK 
  #Since GAE is brain dead, it decides using gzip compression only for text 
  #resources and does not allow the application to decide. 
  #Therefore, we set mime_type for binary data as text.
  
- url: /incremental_fonts/.*
  script: incremental_fonts.app

- url: /slow_server
  script: slow_server.app


#  Copyright 2014 Google Inc. All rights reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

application: sample-app
#application: green-pear
#application: ilffwc
version: 1
runtime: python27
api_version: 1

threadsafe: true

default_expiration: "10s"

libraries:
- name: webapp2
  version: latest

builtins:
- remote_api: on

handlers:
- url: /
  script: browser_redirector.app


- url: /chrome/
  static_dir: chrome/
  
- url: /fonts
  static_dir: fonts/
  mime_type: text/richtext 
  #HACK 
  #Since GAE is brain dead, it decides using gzip compression only for text 
  #resources and does not allow the application to decide. 
  #Therefore, we set mime_type for binary data as text.
  
- url: /incremental_fonts/.*
  script: incremental_fonts.app

- url: /slow_server
  script: slow_server.app


Set the expiration time to 10 seconds.
Set the expiration time to 10 seconds.
