Google weblight is a google service, which shows the compressed view of the webpages listed in the search results when a slow network is detected. It removes websites default styles and js files, So user can view the webpage much quicker. 

Though it enables user to load the webpage quickly, we loose our website hard designed layout and page portions scattered all over the page. So there are chances that, user may opt out our website when it listed in the search results next time.

We can disable google weblight by setting “Cache control – no transform” header. When google sees this header it just loads the full page straightaway. But disadvantages of using this method is sometimes our websites labeled as “slow to load” in the search results. If you optimized your website enough, you can go ahead with this method.

Here i listed php,htaccess way of setting cache control, you can use any one of them.

Add this code to top of the page:
header('Cache-Control: no-transform');

Header set Cache-Control "no-transform"

You may test this cache control working or not by manually passing website url to googleweblight like this:

It looks like this:
disable google weblight screen shot

So these are the ways to prevent our website loading through google weblight, Gudluck.

Comments (2)
  1. Image
    Shanu - Reply

    December 08, 2016

    how to use in blogger, please help me

  2. Image
    Harun_shekh - Reply

    July 22, 2016

    but i use google blogspot platform how to solve it????/

Leave a Comment

loader Posting your comment...