- Views: 671
- Replies: 9
For webservers running HTTP/2 or higher, one of the key advantages is the support for multiplexing. Multiplexing allows for multiple resource requests (like JavaScript and CSS) to be handled concurrently, reducing overhead and boosting page load speeds.
With the XenVn add-on, we've optimized this functionality by refining how CSS requests are made.
- The core CSS, which is consistent across all pages, continues to be bundled into a single request.
- CSS specific to individual templates or pages will now be requested separately, rather than bundled together.
Before:
HTML:
You must log in to view
(2 lines)
After:
HTML:
You must log in to view
(5 lines)
By making these requests individually and unbundling the CSS from others, this allows the individual templates to be cached and reused more effectively across different pages.
Activate the feature at: [XenVn] Extra -> Mod View -> Loading Separate CSS.
By default the css file "public:extra.less" will be loaded. If you don't use it, disable it at:
Appearance-> Styles-> Your Style - Style properties -> Basic options -> Use public:extra.less template.
A Quick Overview of HTTP/2
- HTTP/2 is a new Protocol that is replacing HTTP/1.1 thats currently de-facto standard of web.
- Main motivation behind it is Performance.
- Its backward compatible. Clients and browsers can use HTTP/1.1 as usual if they don't support HTTP/2.
- With HTTP/2, SSL is recommended for performance reasons, but not compulsory.
tools.keycdn.com/http2-test
Last edited: