Sha256: 28a13a472a0f8391425ef33678c1a6b3baa54ff012ba3ba0b6d525fd341ffa7e

Contents?: true

Size: 1.34 KB

Versions: 10

Compression:

Stored size: 1.34 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 the first page
    Then I should get a 200 response code
    And I should see "First body."

  Scenario: Rendering deeply nested page
    When I go to the great-grandchild page
    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 the first page
    And I go to the first page
    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 the first page
    And I go to the first page
    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 the first page
    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 the first page
    Then I should not get an "ETag" header in the response
    And The "Cache-Control" header should be "private"

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
radiant-1.0.0.rc2 features/page_serving.feature
radiant-1.0.0.rc1 features/page_serving.feature
radiant-rails3-0.1 features/page_serving.feature
radiantcms-couchrest_model-0.1.4 features/page_serving.feature
radiantcms-couchrest_model-0.1.3 features/page_serving.feature
radiantcms-couchrest_model-0.1.2 features/page_serving.feature
radiantcms-couchrest_model-0.1.1 features/page_serving.feature
radiantcms-couchrest_model-0.1 features/page_serving.feature
radiant-0.9.1 features/page_serving.feature
radiant-0.9.0.rc2 features/page_serving.feature