Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nocache.md to reflect usage with default Laravel routes #1096

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/collections/tags/nocache.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ Only the `title`'s change would be reflected, since the `reviews` value was reme
<div class="movie"> Top Gun 60% Ratings </div>
```

### Usage with default Laravel Routes

When you are using a custom Laravel Route, you might encounter that the nocache tag will return ``NOCACHE_PLACEHOLDER``. For the placeholder to be replaced, ensure that the route has the ``statamic.web`` middleware applied.

## Full Measure Static Caching

When using the `file` static cache driver (aka. "full measure") the pages will be stored as plain `html` files on your server.
Expand Down