Hello,
I have a weird issue while using "H2Push".
I'm turning it off, but depending where it's nested it doesn't work as expected. Subset of config shown at the end. I'm using version: 2.4.52-1ubuntu4.6
on Ubuntu 22.04 LTS.
With the code as presented, it still triggers a push for "fileC.css". I expect NO push to happen as it is turned off before the"H2PushResource..."
line.
Here's where I'm confused. I've performed the following individual tests:
It's only when both lines are inside the FilesMatch that I don't get the expected results. Yet the context
for h2push reads:
Context: server config, virtual host, directory, .htaccess
The plan, eventually, is to enable just the early hints and not the push. But I haven't even gotten to testing that part yet. My version
of httpd doesn't support "H2EarlyHint".
Subset of the config:
----------
H2Push on
...
<IfModule mod_ssl.c>
<VirtualHost *:443>
...
<IfModule http2_module>
#H2EarlyHints on
#H2Push off
#H2PushResource /fileC.css
<FilesMatch "^(fileA|fileB)\.php$">
H2Push off
H2PushResource /fileC.css
#H2EarlyHint ... Available in version 2.4.58 and later.
</FilesMatch>
</IfModule>
...
</VirtualHost>
</IfModule>...
|