Ghost/ghost/core/test/unit
Naz ccb485110b
Short-circuited resource URL regeneration when it's not necessary
refs https://github.com/TryGhost/Toolbox/issues/503

- Full URL regeneration process was happening even when only unrelated to URL generation fields were updated (e.g. 'plaintext' change in post does not affect the URL of the post). Stopping the  "resource updated" event processing early circumvents full url regeneration inside of DynamicRouting, which can be quite heavy depending on routing configuration
- The URLResourceUpdatedEvent is supposed to be emmited whenever there's an update to the resource already associated with the URL and no url-affecting fields were touched.
2023-01-23 16:33:41 +08:00
..
api/canary Improved unit test coverage for the output mappers 2023-01-03 15:58:31 +01:00
frontend Added logging to webmention endpoint (#16137) 2023-01-17 14:26:43 +01:00
server Short-circuited resource URL regeneration when it's not necessary 2023-01-23 16:33:41 +08:00
shared Improved Sentry server side error reporting 2022-11-23 12:37:24 +00:00