Code Monkey home page Code Monkey logo

Comments (4)

baka-gourd avatar baka-gourd commented on July 30, 2024

以及建议对mod的图标做本地缓存,这种不太会变的资源都可以做缓存来提高加载速度

from modmanager.

kaniol-lck avatar kaniol-lck commented on July 30, 2024

感谢建议!已经加入TODO List

  • Download Curseforge mod depencies
  • Improve Curseforge search results
  • Icon cache

不过搜索的问题,curseforge似乎并没有直接通过slug获取project id的方法(除了访问网页以及severmods,就我所知),感觉缓存了slug也没什么用

from modmanager.

baka-gourd avatar baka-gourd commented on July 30, 2024

感谢建议!已经加入TODO List

不过搜索的问题,curseforge似乎并没有直接通过slug获取project的方法(除了访问网页以及severmods,就我所知),感觉缓存了slug也没什么用

https://github.com/CFPAOrg/Minecraft-Mod-Language-Package/blob/main/config/spider/1.16/intro.json

实际上对slug的使用是这样的,同时生成了一个projectid和slug的映射表
用途之一就是如果别人给了你一个网页链接,你可以直接通过slug下载mod,而不是在去手动搜索
对于用户那就是一个一个慢慢加

from modmanager.

kaniol-lck avatar kaniol-lck commented on July 30, 2024

https://github.com/CFPAOrg/Minecraft-Mod-Language-Package/blob/main/config/spider/1.16/intro.json

实际上对slug的使用是这样的,同时生成了一个projectid和slug的映射表 用途之一就是如果别人给了你一个网页链接,你可以直接通过slug下载mod,而不是在去手动搜索 对于用户那就是一个一个慢慢加

恩。。果然是只能以比较暴力的方式解决

from modmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.