Disable the googleweblight service

Googleweblight is google’s service which transcodes pages visited on slow internet connections to deliver the page as quickly as possible. It is good in theory but it garbles up a wix site horribly.
Google offers the option to disable it by setting the HTTP header “Cache-Control: no-transform” in the response.
(Source: Latest Google Search Documentation Updates | Google Search Central  |  What's new  |  Google for Developers)

My question, therefore is that how may I achieve this site-wide using wix Code.

Hi,
If you try to embed a script tag, you can do it using the Track & Analyze feature . If this is not what you were trying to embed, please share with us the entire code you were trying to add to your site so that we can better understand what you were referring.

Thanks,
Tal.

This is not a script tag that can be inserted using the track & analyze feature you mentioned, it is a HTTP response header which the server responds with.

I’ve done enough digging to infer that the wix-http-functions(wix-http-functions - Velo API Reference - Wix.com) and wix-router(wix-router - Velo API Reference - Wix.com) can be used to achieve something like this but they are applicable to only specific hardcoded website paths like https://www.{user_domain}/_functions/ in the case of wix-http-functions and do not apply site-wide.

What I need is to set a CUSTOM http header response which is applied as a default for the whole website. Please advise accordingly.

P.S: The entire code which I wish to add as a header Cache-Control: no-transform

The rendering of all mobile websites is affected by this especially wix ones.
One can check his/her own website using http://googleweblight.com/i?u=[your_website_URL] .Here’s mine:

Hi,
I’m afraid that currently it’s impossible to integrate this code with your site. I’ve forwarded your feedback to the relevant team.

Have a good day,
Tal.

I sincerely hope this issue is solved at the earnest.