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
To prevent caching issues, it's crucial to note that updating or creating a new post does not automatically refresh pages displaying the Archive Block. This could lead to outdated information being presented to users.
Which area(s) are affected? (Select all that apply)
area: templates
Environment Info
# Database connection string
DATABASE_URI=mongodb://127.0.0.1/your-database-name
# Or use a PG connection string
#DATABASE_URI=postgresql://127.0.0.1:5432/your-database-name
# Used to encrypt JWT tokens
PAYLOAD_SECRET=YOUR_SECRET_HERE
# Used to configure CORS, format links and more. No trailing slash
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
# Secret used to authenticate cron jobs
CRON_SECRET=YOUR_CRON_SECRET_HERE
The text was updated successfully, but these errors were encountered:
Can confirm the issue. I could modify revalidatePost to revalidate the pages that use posts as well, but that doesn't really scale if blocks are moved to different pages etc.
Describe the Bug
To prevent caching issues, it's crucial to note that updating or creating a new post does not automatically refresh pages displaying the Archive Block. This could lead to outdated information being presented to users.
Link to the code that reproduces this issue
https://github.com/payloadcms/payload/tree/main/templates/website
Reproduction Steps
Use the basic website template.
Which area(s) are affected? (Select all that apply)
area: templates
Environment Info
The text was updated successfully, but these errors were encountered: