letitbesqzr
V2EX  ›  问与答

网站中用户的设置一般都是怎样读取的

  •  
  •   letitbesqzr · Dec 1, 2014 · 1945 views
    This topic created in 4342 days ago, the information mentioned may be changed or developed.
    比如v2ex的设置功能(自定义css,偏好的英文字体....等等).. 几乎每个页面都需要去取这些信息.. 每次打开页面都去数据库那样效率太低,请问大家在这方面都用些什么技术来读取
    2 replies  •  2014-12-01 17:14:45 +08:00
    Jaylee
        1
    Jaylee  
       Dec 1, 2014   ❤️ 1
    redis咯
    wingoo
        2
    wingoo  
       Dec 1, 2014   ❤️ 1
    每次数据库累就放缓存啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5998 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 03:23 · PVG 11:23 · LAX 20:23 · JFK 23:23
    ♥ Do have faith in what you're doing.