social-tw / social-tw-website

4 stars 12 forks source link

[USD-231][UST-229][UST-256] Remove the cache and post filter content and keyword selection #577

Open Lisooo790926 opened 2 weeks ago

Lisooo790926 commented 2 weeks ago

Please follow the guidelines in Contribution.md first, then start to create your pull request here.

Summary / Details

  1. Removed the post cache, ((( please review my comment in this ticket(#520), I believe the fetching post behavior will be bottleneck after removing the cache.
  2. Removed the post filter and fixed related test
  3. Added keyword selection ((( this is related above fetching post behavior, add search by keyword, and it should also impact post fetching

Linked Issue

520

544

546

Impacted Areas

post/account/vote/comment, all behaviors that require post fetching are impacted.

Tests

Minor add tests for keyword selection, which should not impact current tests.

Verification Steps

Try keyword selection, the query response should have related content

Todo

Checklist