go-toolkit icon indicating copy to clipboard operation
go-toolkit copied to clipboard

HTTP Optimizations

Open HadrienGardeur opened this issue 8 years ago • 3 comments

In order to improve performance, a number of optimizations can also be handled at a HTTP level:

  • manifest served with an ETag
  • all resources from the publication served with Cache-Control header and a long expiration date

HadrienGardeur avatar Mar 27 '17 15:03 HadrienGardeur

While we initially planned on implementing rel="prerender" too, it's unclear if this would help apps at this point. The results might be more convincing if the app is responsible for dynamically injecting rel="prerender" itself.

HadrienGardeur avatar Mar 27 '17 16:03 HadrienGardeur

Code in commit https://github.com/readium/r2-streamer-go/commit/b90c118151333b30f6249d69bbacab6db7860f15

banux avatar Mar 27 '17 16:03 banux

@chocolatkey I was about to close this outdated issue but it made me wonder what our current strategy is. Could you give me a quick summary here?

HadrienGardeur avatar Apr 18 '24 16:04 HadrienGardeur

Addressed for the most part in rwp serve command's web server.

chocolatkey avatar Sep 07 '24 23:09 chocolatkey