Skip to content

Commit 09fcc09

Browse files
committed
Refactor documentation for Laravel Page Speed
- Consolidated README.md into a more structured format, emphasizing audience and guide structure. - Streamlined Web Optimization Guide with clearer sections and updated middleware details. - Introduced new API Cache Architecture and Configuration Reference documents for comprehensive caching strategies. - Enhanced clarity on middleware functionalities and installation steps. - Updated performance metrics and troubleshooting sections for better user guidance.
1 parent 3dc61bd commit 09fcc09

File tree

10 files changed

+1027
-1876
lines changed

10 files changed

+1027
-1876
lines changed

.github/workflows/tests.yml

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
name: Tests
22

33
on:
4-
push:
5-
branches: [master, develop]
6-
pull_request:
7-
branches: [master, develop]
8-
types: [opened, synchronize, reopened]
4+
push:
5+
branches: [master, develop]
6+
pull_request:
7+
branches: [master, develop]
8+
types: [opened, synchronize, reopened]
99

1010
jobs:
11-
test:
12-
runs-on: ubuntu-latest
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
php: [8.2, 8.3]
17-
laravel: [10.*, 11.*, 12.*]
18-
dependency-version: [prefer-lowest, prefer-stable]
19-
include:
20-
- laravel: 10.*
21-
testbench: 8.*
22-
- laravel: 11.*
23-
testbench: 9.*
24-
- laravel: 12.*
25-
testbench: 10.*
26-
exclude:
27-
- laravel: 12.*
28-
php: 8.2
29-
30-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
31-
32-
steps:
33-
- name: Checkout code
34-
uses: actions/checkout@v5
35-
36-
- name: Setup PHP
37-
uses: shivammathur/setup-php@v2
38-
with:
39-
php-version: ${{ matrix.php }}
40-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
41-
coverage: none
42-
43-
- name: Setup problem matchers
44-
run: |
45-
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
46-
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
47-
48-
- name: Install dependencies
49-
run: |
50-
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --with="laravel/framework:${{ matrix.laravel }}" --with="orchestra/testbench:${{ matrix.testbench }}"
51-
52-
- name: List Installed Dependencies
53-
run: composer show -D
54-
55-
- name: Execute tests
56-
run: php -d memory_limit=512M vendor/bin/phpunit
57-
58-
- name: Check code style
59-
run: vendor/bin/phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
php: [8.2, 8.3]
17+
laravel: [10.*, 11.*, 12.*]
18+
dependency-version: [prefer-lowest, prefer-stable]
19+
include:
20+
- laravel: 10.*
21+
testbench: 8.*
22+
- laravel: 11.*
23+
testbench: 9.*
24+
- laravel: 12.*
25+
testbench: 10.*
26+
exclude:
27+
- laravel: 12.*
28+
php: 8.2
29+
30+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
31+
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v5
35+
36+
- name: Setup PHP
37+
uses: shivammathur/setup-php@v2
38+
with:
39+
php-version: ${{ matrix.php }}
40+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
41+
coverage: none
42+
43+
- name: Setup problem matchers
44+
run: |
45+
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
46+
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
47+
48+
- name: Install dependencies
49+
run: |
50+
COMPOSER_MEMORY_LIMIT=-1 composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --with="laravel/framework:${{ matrix.laravel }}" --with="orchestra/testbench:${{ matrix.testbench }}"
51+
52+
- name: List Installed Dependencies
53+
run: composer show -D
54+
55+
- name: Execute tests
56+
run: php -d memory_limit=512M vendor/bin/phpunit
57+
58+
- name: Check code style
59+
run: vendor/bin/phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests

0 commit comments

Comments
 (0)