Sha256: 6a209af0ece162b78fd876520d2606475a6594d8a34b9f0a4a76e607fa954e25
Contents?: true
Size: 1.34 KB
Versions: 14
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
14 entries across 14 versions & 2 rubygems