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

Don't cache blog post previews #360

Merged
merged 3 commits into from
Jul 5, 2024
Merged

Don't cache blog post previews #360

merged 3 commits into from
Jul 5, 2024

Conversation

spaze
Copy link
Owner

@spaze spaze commented Jul 5, 2024

It's been cached when the BlogPost object was created before it was sent to sendPreview() (where caching was disabled a little bit too late), and also in onValidate where we still want the data to be validated (so can't call setValidationScope([])). The original BlogPost object is still cached in actionEdit(), but that's the original one. not the previewed one.

spaze added 3 commits July 5, 2024 03:43
Adding only allowedTags so far because that's what I use.
It's been cached when the BlogPost object was created before it was sent to sendPreview() (where caching was disabled a little bit too late), and also in onValidate where we still want the data to be validated (so can't call setValidationScope([])). The original BlogPost object is still cached in actionEdit, but that's the original one. not the previewed one.
@spaze spaze self-assigned this Jul 5, 2024
@spaze spaze merged commit da0975b into main Jul 5, 2024
39 checks passed
@spaze spaze deleted the spaze/texy-cache branch July 5, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant