[openstreetmap/openstreetmap-website] Cache social link platform and name at save time (PR #6950)
Matt Van Horn
notifications at github.com
Wed Apr 1 05:17:53 UTC 2026
mvanhorn left a comment (openstreetmap/openstreetmap-website#6950)
Reworked in f9cbc77. Dropped the migration and DB columns, now using `Rails.cache.fetch("social_link/#{social_link.url}")` in the view partial. Cache key changes when the URL changes, so no manual invalidation needed.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6950?email_source=notifications&email_token=AAK2OLPH57OQIHHGCMWOYDL4TSRADA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJWG42TEMZVG442M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS2XA4S7MNXW23LFNZ2F633QMVXF6Y3MNFRWW#issuecomment-4167523579
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6950/c4167523579 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260331/51351bc8/attachment.htm>
More information about the rails-dev
mailing list