RocketChat / RocketChat/Rocket.Chat

Administration -> Message -> Clear cache now doesn't seem to have any effect

Open
#6,894 5 comments 1 reaction 1 assignee View on GitHub

@rodrigok is already working on this.

Since May 5, 2017.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Rocket.Chat Version: 0.55.0-rc.6
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: v4.8.0

This is related to #3207 - adding new hosts to the "Embed Ignored Hosts" list doesn't have any effect for URLs that Rocket.Chat has already seen, and therefor already cached.

In theory, #3207 should be easy to work around just by clicking the "Clear cache now" button. But for some reason, this doesn't have any effect in our Rocket.Chat installation. I've looked into the database, and our rocketchat_oembed_cache collection currently has 297 entries:

> db.rocketchat_oembed_cache.count()
297

This number increases by one whenever Rocket.Chat sees a new link, but it doesn't ever decrease. Clicking "Clear cache now" doesn't seem to do anything, it stays at its current value.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.