Sha256: c51aa8c21007022bad966a3ffc46eaf6a5117eacfb3129ad0ce4c6374fdd56d8

Contents?: true

Size: 1.82 KB

Versions: 28

Compression:

Stored size: 1.82 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"
    And I call the push command
    Then 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"
    And I call the push command
    Then 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"
    And I call the push command
    Then 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"
    And I call the push command
    Then 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

28 entries across 28 versions & 2 rubygems

Version Path
s3_website_monadic-0.0.15 features/website-performance.feature
s3_website_monadic-0.0.14 features/website-performance.feature
s3_website_monadic-0.0.13 features/website-performance.feature
s3_website_monadic-0.0.12 features/website-performance.feature
s3_website_monadic-0.0.11 features/website-performance.feature
s3_website_monadic-0.0.9 features/website-performance.feature
s3_website_monadic-0.0.8 features/website-performance.feature
s3_website_monadic-0.0.7 features/website-performance.feature
s3_website_monadic-0.0.6 features/website-performance.feature
s3_website_monadic-0.0.5 features/website-performance.feature
s3_website_monadic-0.0.4 features/website-performance.feature
s3_website_monadic-0.0.3 features/website-performance.feature
s3_website_monadic-0.0.2 features/website-performance.feature
s3_website_monadic-0.0.1 features/website-performance.feature
s3_website-1.7.4 features/website-performance.feature
s3_website-1.7.3 features/website-performance.feature
s3_website-1.7.2 features/website-performance.feature
s3_website-1.7.1 features/website-performance.feature
s3_website-1.7.0 features/website-performance.feature
s3_website-1.6.13 features/website-performance.feature