ã¯ããã« ä»ãNext.js 15ãããããªè©±é¡ã§ããããã®Next.js 15ã§å°å ¥ããããuse cahceã«ãããããã¾ã§ã®Next.jsã®cacheæ¦ç¥ã大ããæ¹è¯ããããã¨ã«ãªãã¾ããã ã¾ããããã·ã³ãã«ãã¤æè»ãªcacheæ¦ç¥ãåãå ¥ãããããªããå¤§å¹ ã«éçºä½é¨ãæ¹è¯ããããã¨ã«ãªãã§ããããããuse cacheã«ã¤ãã¦ä»¥ä¸ã®è¨äºãåèã«è§£èª¬ãããã¨æãã¾ãã Next.js 14ã¾ã§ã®èª²é¡ 1. fetch()ã«ã¤ã㦠ããã¾ã§Next.jsã®fetch()ã¨ããã°ãããã©ã«ãã§cacheããããã®ã§ããã ããããªãããããã¯fetch()ã使ç¨ããªãå ´åããååèæ ®ãããã®ã§ã¯ããã¾ããã§ããã ãã®ããããã¼ã«ã«ãã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã«å¯¾ããå¶å¾¡ã¯ååã«æä¾ããã¦ããªãã¨ãã£ã課é¡ãããã¾ããã 2. fetch()以å¤ã使ç¨ããå ´åãã¨ã¹ã±ã¼ãããããå¿ è¦ã ã£ã ã¨
{{#tags}}- {{label}}
{{/tags}}