Sha256: 9558ca4ea2f121e07c63d407338de659de492dbde7bd3ea33341888bd38ed306

Contents?: true

Size: 1.86 KB

Versions: 29

Compression:

Stored size: 1.86 KB

Contents

Feature: improve response times of your S3 website website

  As a blogger
  I want to benefit from HTTP performance optimisations
  So that my readers would not have to wait long for my website to load

  @new-files
  Scenario: Set Cache-Control: max-age for all uploaded files
    When my S3 website is in "features/support/test_site_dirs/site.with.maxage.com"
    Then s3_website will push my blog to S3
    And the output should contain
      """
      Upload css/styles.css [max-age=120]: Success!
      """
    And the output should contain
      """
      Upload index.html [max-age=120]: Success!
      """

  @new-files
  Scenario: Set Cache-Control: max-age for CSS files only
    When my S3 website is in "features/support/test_site_dirs/site.with.css-maxage.com"
    Then s3_website will push my blog to S3
    And the output should contain
      """
      Upload css/styles.css [max-age=100]: Success!
      """
    And the output should contain
      """
      Upload index.html [max-age=0]: Success!
      """

  @new-files
  Scenario: Set Content-Encoding: gzip HTTP header for HTML files
    When my S3 website is in "features/support/test_site_dirs/site.with.gzipped-html.com"
    Then s3_website will push my blog to S3
    And the output should contain
      """
      Upload css/styles.css: Success!
      """
    And the output should contain
      """
      Upload index.html [gzipped]: Success!
      """

  @new-files
  Scenario: Set both the Content-Encoding: gzip and Cache-Control: max-age headers
    When my S3 website is in "features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com"
    Then s3_website will push my blog to S3
    And the output should contain
      """
      Upload css/styles.css [gzipped] [max-age=300]: Success!
      """
    And the output should contain
      """
      Upload index.html [gzipped] [max-age=300]: Success!
      """

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
s3_website-1.6.4 features/website-performance.feature
s3_website-1.6.3 features/website-performance.feature
s3_website-1.6.2 features/website-performance.feature
s3_website-1.6.1 features/website-performance.feature
s3_website-1.6.0 features/website-performance.feature
s3_website-1.5.0 features/website-performance.feature
s3_website-1.4.5 features/website-performance.feature
s3_website-1.4.4 features/website-performance.feature
s3_website-1.4.3 features/website-performance.feature
s3_website-1.4.2 features/website-performance.feature
s3_website-1.4.1 features/website-performance.feature
s3_website-1.4.0 features/website-performance.feature
s3_website-1.3.2 features/website-performance.feature
s3_website-1.3.1 features/website-performance.feature
s3_website-1.3.0 features/website-performance.feature
s3_website-1.2.1 features/website-performance.feature
s3_website-1.2.0 features/website-performance.feature
s3_website-1.1.2 features/website-performance.feature
s3_website-1.1.1 features/website-performance.feature
s3_website-1.1.0 features/website-performance.feature