Cache Links #66
Labels
No labels
Bug
Cleanup/Refactor
Core Feature
Documentation
Feature
Performance Improvement
Security Improvement
UX/Accessibility
Unreproducable Bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rainbownapkin/canopy#66
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create a map in linkUtils which gets checked every time a link is checked.
If a match is found, use the data from the map. Otherwise, pull the link, save the data to the map, kick off a timeout with a function to delete the entry from the map in 10 minutes, and finally return the link info.
This should provide better performance in situations where coatrooms may be filled by emotes (eg: [catjam] floods)
added #30 as parent issue
changed the description
changed the description
linkUtils.js now caches marked links for 5 minutes:
163cecf9f0