incubator-pagespeed-mod
incubator-pagespeed-mod copied to clipboard
MapRewriteDomain not working on video source urls
For some reason HTML video source URLs are not being rewritten on a WordPress website. My version is 1.13.35.2-0. I have tried everything. Any help would be appreciated.
PageSpeed doesn't optimize video itself. I'm not certain but you might be able to get it to proxy and cache-extend a video file using https://www.modpagespeed.com/doc/domains#url-valued-attributes .
However, I'm not sure I would recommend that, even if it works. PageSpeed is not optimized for video delivery, and if the videos are long I think the performance may be poor.
If the videos are relatively small, say less than a megabyte, it might be worth a shot.
On Sat, Apr 25, 2020 at 1:55 PM mcpacific [email protected] wrote:
For some reason HTML video source URLs are not being rewritten on a WordPress website. My version is 1.13.35.2-0. I have tried everything. Any help would be appreciated.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apache/incubator-pagespeed-mod/issues/1989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO2IPOGNFFZWSUC5OQFNYLROMPY3ANCNFSM4MQ26FIQ .
I just want the videos to load from my CDN, which is why I wanted to rewrite the domains... but not do any kind of compression or any other type of optimization. I've tried using the url valued attributes but doing so had no effect. In fact, <video src=...> is supposed to be considered by default, according to the page you referenced.