yireo / Yireo_LinkPreload

Magento 2 extension to set HTTP Link headers for primary resources to allow for HTTP/2 Server Push
Open Software License 3.0
74 stars 18 forks source link

Cannot install on 2.2.6 #14

Closed henk-hypershop closed 6 years ago

henk-hypershop commented 6 years ago

Hi,

I tried to install this composer package on 2.2.6, but cannot continue:

[InvalidArgumentException]
Could not find a version of package yireo/magento2-serverpush matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

jissereitsma commented 6 years ago

This could be due to the fact how semantic versioning works. A stable version starts from 1.x. This extension uses 0.x because the Server Push feature is experimental in most (if not all) webservers. Therefore, you will need to make sure that your composer file supports other versions than just stable versions.

jissereitsma commented 6 years ago

https://getcomposer.org/doc/04-schema.md#minimum-stability

henk-hypershop commented 6 years ago

Yes, i have figured that out. Since this is experimental, i will let this one pass. Thanks for your reply!