{"id":15715764,"url":"https://github.com/mrrobotdotapp/suppresscache","last_synced_at":"2026-02-13T06:10:22.070Z","repository":{"id":54794761,"uuid":"333556078","full_name":"mrrobotdotapp/SuppressCache","owner":"mrrobotdotapp","description":"Generate randomly a string for clear cache from CloudFlare or other CDN. Using on Mr. Robøt.","archived":false,"fork":false,"pushed_at":"2024-05-08T16:16:27.000Z","size":94,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T17:23:29.090Z","etag":null,"topics":["discord","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://mrrobot.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrrobotdotapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["mrrobotdotapp","thomasbnt"],"custom":"https://buymeacoffee.com/thomasbnt/?via=thomasbnt"}},"created_at":"2021-01-27T20:48:50.000Z","updated_at":"2024-05-08T16:16:31.000Z","dependencies_parsed_at":"2024-01-17T23:13:25.803Z","dependency_job_id":"a48fff59-07f9-4435-8ea0-3c37abbe9217","html_url":"https://github.com/mrrobotdotapp/SuppressCache","commit_stats":null,"previous_names":["mrrobotdotapp/suppresscache","mist3r-robot/suppresscache"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/mrrobotdotapp/SuppressCache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrobotdotapp%2FSuppressCache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrobotdotapp%2FSuppressCache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrobotdotapp%2FSuppressCache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrobotdotapp%2FSuppressCache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrrobotdotapp","download_url":"https://codeload.github.com/mrrobotdotapp/SuppressCache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrobotdotapp%2FSuppressCache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274589627,"owners_count":25312971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord","hacktoberfest"],"created_at":"2024-10-03T21:42:48.601Z","updated_at":"2026-02-13T06:10:22.030Z","avatar_url":"https://github.com/mrrobotdotapp.png","language":"JavaScript","funding_links":["https://github.com/sponsors/mrrobotdotapp","https://github.com/sponsors/thomasbnt","https://buymeacoffee.com/thomasbnt/?via=thomasbnt","https://www.buymeacoffee.com/thomasbnt?via=thomasbnt"],"categories":[],"sub_categories":[],"readme":"# Suppress Cache\n\nInstall it directly from the [NPM registry](https://www.npmjs.com/package/@mrrobotdotapp/suppresscache):\n\n```bash\nnpm i @mrrobotdotapp/suppresscache\n```\n\nThis file is used on [the bot](https://mrrobot.app) for no cache files from CDNs. \nDiscord uses CloudFlare for caching management which can be problematic when you change an image and display it on the platform.\nEven after a change on your side, Discord can still keep the old version in its cache.\n\n\u003e **Note**\n\u003e \n\u003e Formerly called **NoCache**, it has been renamed because the package name on NPM already exists.\n\n## 💻 Code\n\n```js\nconst { getFolderIcons } = require('@mrrobotdotapp/suppresscache');\n\ngetFolderIcons(\n  \"https://mrrobot.app/Folder/Of/Icons\",\n  \"myFileName.png\",\n  true,\n  false\n)\n```\n\nGive that :\n\n```bash\n[suppressCache] Output : https://mrrobot.app/Folder/Of/Icons/file.png?suppressCache=gb0cqe0j\n```\n\nYou can test this code directly with [`./test/app.js`](./test/app.js).\n\n### 🎈 Awesome links\n\nDon't hesitate to follow me, you can also contribute to the development of all projects Open Source of Mr. Robøt by making a donation.\n\n[![dependency - suppressCache](https://img.shields.io/badge/dependency-suppresscache-red?logo=npm\u0026logoColor=white\u0026style=for-the-badge)](https://www.npmjs.com/package/@mrrobotdotapp/suppresscache)\n[![Twitter Follow](https://img.shields.io/badge/Follow%20me%20on-Twitter-1DA1F2?\u0026logo=Twitter\u0026style=for-the-badge)](https://twitter.com/Thomasbnt_) [![Discord](https://img.shields.io/discord/367753345575944221?style=for-the-badge\u0026logo=discord\u0026logoColor=white\u0026labelColor=5865F2\u0026color=%2357F287)](https://mrrobot.app/discord) [![GitHub Sponsors](https://img.shields.io/badge/Sponsor%20me-%23EA54AE.svg?\u0026style=for-the-badge\u0026logo=github-sponsors\u0026logoColor=white)](https://github.com/sponsors/thomasbnt) [![Support me on Buy Me a Coffee](https://img.shields.io/badge/-Support%20me-%23FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/thomasbnt?via=thomasbnt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobotdotapp%2Fsuppresscache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrrobotdotapp%2Fsuppresscache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobotdotapp%2Fsuppresscache/lists"}