-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip WP Handling of 404s for static files (#111)
* Allow skipping of WP 404 handling for static files. Update code to fix issue where updating cache level setting didn't always work properly. * Update dependencies * Use an updated version of Node * Whitelist the `dealerdirect/phpcodesniffer-composer-installer` Composer plugin * Fix tests / linting * Bump version and update documentation
- Loading branch information
Showing
9 changed files
with
1,026 additions
and
822 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
{ | ||
"mappings": { | ||
"wp-content/mu-plugins": "." | ||
}, | ||
"port": 8870, | ||
"testsPort": 8871 | ||
"config": { | ||
"WP_DEBUG": true, | ||
"WP_DEBUG_LOG": true, | ||
"WP_DEBUG_DISPLAY": true | ||
}, | ||
"plugins": [ | ||
"." | ||
], | ||
"port": 8870, | ||
"testsPort": 8871 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,24 @@ | |
|
||
Endurance Page Cache adds basic file-based caching to WordPress, as well as more advanced caching solutions in nginx and Cloudflare. EPC is designed to run best on Endurance systems and your mileage may vary. | ||
|
||
## Installation | ||
|
||
- Run `git clone [email protected]:bluehost/endurance-page-cache.git` to pull down the code. | ||
- Run `composer install` to install PHP dev dependencies. | ||
- Run `npm install` to install JS dev dependencies. | ||
|
||
## Running linting | ||
|
||
- Run `composer run lint` | ||
|
||
## Running tests | ||
|
||
- Run `npm run wp-env start` to boot the WordPress environment | ||
- Run `npm run test` to run the tests | ||
|
||
## Tagging a new release | ||
|
||
- Bump the version number in the header of the `endurance-page-cache.php` file (also the `EPC_VERSION`) and in `package.json`. | ||
- Bump the version number in the header of the `endurance-page-cache.php` file (also the `EPC_VERSION` constant). | ||
- Push all changes to `master`. | ||
- Merge all changes to `production`. | ||
- Create a release on GitHub for the new version. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.