Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Opposite Of Registercache Rate Topic   - - - - -

  • natewallis
  • Senior Member
  • Members
  • Join Date: 11-Jan 13
  • 220 posts

Posted 17 September 2019 - 07:39 AM #1



As part of my addon, I am using the Registry::registerCache() call to create a dedicated area in session storage to keep my theme related data.

Registry::registerCache('bfa_theme', []);

I then make calls which set subkeys on this key, e.g... 

Registry::set('bfa_theme.support_links', [data => 'some data']);

My theme is heavily dependent on nginx proxy cache, so I have written some functions to manage the nginx cache via UI in the backend, one of which will fully purge 'bfa_theme' from the session storage. 


But I am unsure how to do this..  The following has no effect:


Thanks in advance..