Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense not showing on back button

         

levo

9:43 pm on Oct 31, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



On Windows and macOS, using Chrome 54 & Opera 41, when I go back to a previous page with Adsense code, the ads won't work. It works with other browsers and DFP code also works.

I have tried various Cache-Control headers, but couldn't find any workarounds. Any ideas?

keyplyr

11:16 pm on Nov 1, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Caching can be challenging. Most of the cache control methods only partially work, and since Java Script is cached in the browser by default, it is difficult to control from the page or even at the server level.

Also, various browsers handle caching differently. Users may also personalize the settings for how their browser handle caching. ISPs also cache.

Sadly, I don't think there is a solution to your issue with the ads.

tangor

1:57 am on Nov 2, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are these your pages that are not showing the adsense on "back" or someone else's? If yours you might look to

<meta http-equiv="refresh" content="5" >

keyplyr

2:33 am on Nov 2, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I would not recommend artificially
refreshing a web page creating false ad loads. That's a sure way to attract a penalty, possibly loosing your account.

levo

12:27 am on Nov 5, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



They've fixed it with 54.0.2840.87