Geta / geta-optimizely-tags

Geta Tags is a library that adds tagging functionality to Optimizely content.
Apache License 2.0
0 stars 3 forks source link

Don't process content items multiple times in the scheduled job #26

Open rbottema opened 7 months ago

rbottema commented 7 months ago

A content item can be tagged with multiple tags, which would make them end up multiple times in the GetTaggedContentGuids list. Filtering out duplicates cleans this list and avoids doing duplicate processing. This speeds up the job greatly, especially in sites with heavy tag usage

rbottema commented 7 months ago

There are more potential performance improvements that are worth looking into, but I didn't have time for. Examples are: