Skip to content

Commit

Permalink
Fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
phillmac authored Mar 20, 2020
1 parent 89021f2 commit 411cf31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/sprinkles/core/src/Util/NoCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
use Psr\Http\Message\ServerRequestInterface as Request;

/**
* Middleware to add a 'Cache-Control' header to the request to prevent caching.
* Middleware to add a 'Cache-Control' header to the response to prevent caching.
*
* @author Alex Weissman (https://alexanderweissman.com)
*/
class NoCache
{
/**
* Invoke the NoCache middleware, adding headers to the request to prevent caching.
* Invoke the NoCache middleware, adding headers to the response to prevent caching.
*
* @param Request $request PSR7 request
* @param Response $response PSR7 response
Expand Down

0 comments on commit 411cf31

Please sign in to comment.