ThrawnCA
ThrawnCA
> Could we add a "Varies: cookie" header so that the session cookie is part of the cache key? I don't think so. Cookies are only sent on requests, IIUC...
Hmm, I must have misread the Vary docs the first time. That does seem promising. Since the header.html snippet is included everywhere and changes based on login, I'd think that...
@EricSoroos We have added `Vary: Cookie` to www.data.qld.gov.au and www.publications.qld.gov.au with great success; customer complaints about seeing stale pages after login have stopped.
My first advice is to rotate the Beaker secret and CSRF secret on whichever environment this came from, since they're publicly exposed. Also the API token.
Second, the example schema references the 'unicode' validator. That's where the problem comes from.
What version(s) of CKAN did you test? 2.9, 2.10, or latest master?
I don't think it's feasible to analyse the content of `try` blocks from the perspective of the `catch` blocks, since you explicitly don't know how much of the try block...
> Any updates on this, @ThrawnCA? Is the suggestion I proposed in my comment above impossible to implement? Sorry, I help with code reviews, but the intricacies of writing a...
That sounds like an error in `ckanext-ontario_theme` rather than `ckanext-validation`.
https://docs.sqlalchemy.org/en/14/errors.html#error-cprf has information about the cause of this warning and how to resolve it. We could potentially see large performance gains by fixing the caching config.