Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Best quick cache solution for vanilla?

TiGRTiGR
I've fixed OpenId plugin, and it required using some server-side storage for really short amount of time - just between 2 pages. What would be best solution for this?

Gdn::Cache() seems to be not working, Gdn::Session->SetAttribute() works only at runtime, Gdn::Session->SetPreference() works for registered users only (while this is at registration process).

$_SESSION is not being used in vanilla at all. Is it ok to start php session and use it?
Tagged:

Comments

  • LincLinc Director of Development Detroit Vanilla Staff
    There is now $Session->Stash() for popping stored variables in and out of the session array. I'm not sure where it got added, but it's been in all the .18 betas.
  • UnderDogUnderDog Moderator
    Gdn::Cache() seems to be not working
    Maybe a bug? Needs to be fixed for new beta release or Release Candidate?

  • ToddTodd Chief Product Officer Vanilla Staff
    Gdn::Cache() is meant for a hook for memcached. If you don't have it configured on your server then you won't get anything from Gdn::Cache().
Sign In or Register to comment.