Sha256: d45a252e8a3a2142fcbc15aaa6d85cadd2b82e2e67d6d70316518604ee375949

Contents?: true

Size: 1.36 KB

Versions: 13

Compression:

Stored size: 1.36 KB

Contents

Feature: Serving pages from front-end
  In order to view the website content efficiently
  a visitor
  wants to load pages with caching enhancements

  Background:
    Given the page cache is clear

  Scenario: Basic page rendering
    When I go to page "/first"
    Then I should get a 200 response code
    And I should see "First body."

  Scenario: Rendering deeply nested page
    When I go to page "/parent/child/grandchild/great-grandchild"
    Then I should get a 200 response code
    And I should see "Great Grandchild body."
  
  Scenario: Apache/lighttpd acceleration
    Given I have turned on X-Sendfile headers
    When I go to page "/first"
    And I go to page "/first"
    Then I should get an "X-Sendfile" header in the response
    
  Scenario: nginx acceleration
    Given I have turned on X-Accel-Redirect headers
    When I go to page "/first"
    And I go to page "/first"
    Then I should get an "X-Accel-Redirect" header in the response
    
  Scenario: page caching enabled
    Given I have page caching on
    When I go to page "/first"
    Then I should get an "ETag" header in the response
    And The "Cache-Control" header should be "public"

  Scenario: page caching disabled
    Given I have page caching off
    When I go to page "/first"
    Then I should not get an "ETag" header in the response
    And The "Cache-Control" header should be "private"

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 features/page_serving.feature
radiantcms-couchrest_model-0.2.2 features/page_serving.feature
radiantcms-couchrest_model-0.2.1 features/page_serving.feature
radiantcms-couchrest_model-0.2 features/page_serving.feature
radiantcms-couchrest_model-0.1.9 features/page_serving.feature
radiantcms-couchrest_model-0.1.8 features/page_serving.feature
radiantcms-couchrest_model-0.1.7 features/page_serving.feature
radiantcms-couchrest_model-0.1.6 features/page_serving.feature
radiantcms-couchrest_model-0.1.5 features/page_serving.feature
radiant-0.8.2 features/page_serving.feature
radiant-rc-0.9.0 features/page_serving.feature
radiant-0.8.1 features/page_serving.feature
radiant-0.8.0 features/page_serving.feature