Question:

Force use of HTTP Cache with fetch

Name: Miken
Score: 0
Force use of HTTP Cache with fetch
-
I'm trying to use the HTTP Cache for something simple, but I can't get it to work. I'm using the following options for fetch(). I tried to just run that same fetch over and over in the span of a minute, expecting to get the same date, unchanged but the results were always "new" so to speak. Do I have a fundamental misunderstanding of how HTTP Cache works or am I better off just caching the value in the back-end?
0 +
Answers :
Register / Login