Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Oct 9, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* Fix subforem caching leak in top navigation

The main sidebar fragment cache was not including subforem_id in its cache
key, causing navigation content (logo, signup links, community name) to be
cached and served across different subforems incorrectly.

Changes:
- Updated fragment cache key in layouts/application.html.erb to include
  RequestStore.store[:subforem_id]
- Updated community_name helper to use subforem-aware memoization to
  prevent cross-subforem pollution within a request

This ensures each subforem has its own cached navigation content.

* Top bar caching

* Fixie
@pull pull bot locked and limited conversation to collaborators Oct 9, 2025
@pull pull bot added the ⤵️ pull label Oct 9, 2025
@pull pull bot merged commit c0336fa into erickirt:main Oct 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant