Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to cache requests in HTTP/2

Tags:

http2

I'm developing a web application using Angular + Java, and I trying to improve performance with HTTP / 2 protocol. It's ok, but I do not have a significant performance improvement, as you can see: [https://i.sstatic.net/YfU14.png

The time to load a specific page is aproximatly the same. The difference is that using HTTP / 1.1, there is a caching resources. With HTTP / 2, there isn't caching, as we see bellow: [https://i.sstatic.net/HPNNC.png

Can I cache resources in HTTP/2 to load the page more fast?

like image 673
Cristiano Cordeiro Avatar asked Jun 22 '26 23:06

Cristiano Cordeiro


1 Answers

It's a Chrome issue with certificates SSL self-signed . Chrome don't cache resources to self-signed certificates. Here's the bug explanation: https://bugs.chromium.org/p/chromium/issues/detail?id=103875

like image 71
Cristiano Cordeiro Avatar answered Jun 30 '26 22:06

Cristiano Cordeiro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!