We recently used forward as a facility for powering the email functionality of a custom social network sharing module we developed. As a part of this development, we wanted to show the number of shares via forward. However, the project involves the use of a CDN and so placing the counts on the page at build time resulted in the CDN caching outdated share counts. In order to solve this, we patched forward to include a simple endpoint that accepts a list of node IDs and returns an object that contains those node IDs along with the count of forward shares for that node.

Comments

willow_ created an issue. See original summary.

john.oltman’s picture

I would be interested in seeing the code if you can post it (or part of it)

john.oltman’s picture

Version: 7.x-2.x-dev » 8.x-1.x-dev
john.oltman’s picture

Status: Active » Closed (outdated)