You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The site loads indefinitely, either crashing with a "502 Bad Gateway" or "Maximum execution time of 30 seconds exceeded", when the page contains a link fieldset and a nocache tag.
How to reproduce
Install a fresh Statamic site using "statamic new project"
Add a link field to the pages Blueprint (see template below)
Edit the home page and select "Entry" (link to any page, no matter. home or another newly created one), save (see .md file below)
Add a {{ nocache }}{{ /nocache }} tag to the home view (see view below)
Now load the home page on the frontend, and the site crashes
Now either remove the entry-link in the home.md file, or remove the {{ nocache }} tag, and the site loads again.
Same also happens with the @nocache directive in Blade.
---id: homeblueprint: pagestitle: Hometemplate: homeauthor: 3de44f3d-d06a-4520-b0a7-8099586940e0updated_by: 3de44f3d-d06a-4520-b0a7-8099586940e0updated_at: 1707228125link_field: 'entry::f0e2251d-40f1-4f7d-8325-917414497767'---## Welcome to your brand new Statamic site!
Not sure where to do next? Here are a few ideas, but feel free to explore in your own way, in your own time.
-[Jump into the Control Panel](/cp) and edit this page or begin setting up your own collections and blueprints.
-[Head to the docs](https://statamic.dev) and learn how Statamic works.
-[Watch some Statamic videos](https://youtube.com/statamic) on YouTube.
-[Join our Discord chat](https://statamic.com/discord) and meet thousands of other Statamic developers.
-[Start a discussion](https://github.com/statamic/cms/discussions) and get answers to your questions.
-[Star Statamic on Github](https://github.com/statamic/cms) if you enjoy using it!
Bug description
The site loads indefinitely, either crashing with a "502 Bad Gateway" or "Maximum execution time of 30 seconds exceeded", when the page contains a link fieldset and a nocache tag.
How to reproduce
Now either remove the entry-link in the home.md file, or remove the {{ nocache }} tag, and the site loads again.
Same also happens with the @nocache directive in Blade.
/resources/blueprints/collections/pages/page.yaml
/content/collections/pages/home.md
/resources/views/home.antlers.html
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
Runtime (default)
Additional details
No response
The text was updated successfully, but these errors were encountered: