homepage Welcome to WebmasterWorld Guest from 54.211.7.174
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

    
Iframe invocation codes for ads - fail in Opera
brosciouszh




msg:4459718
 3:34 am on May 31, 2012 (gmt 0)

Hi.
I have a small ad network. Its invocation codes are iframe.
The issue is that, if the publisher pastes the ad code more than one place in the same page, then there is issue with opera.

Opera loads the first iframe from the server, then loads others from cache, So all ad boxes shows the same ads.

However other browser are fine.
In Chrome, IE and FireFox, there is no problem. They show different ads in each box.

Please open this page with opera and other browsers to see the difference.

<snip>

How can i prevent this opera iframe caching ?

Regards.

[edited by: incrediBILL at 3:43 am (utc) on May 31, 2012]
[edit reason] URL removed, no site reviews TOS #21 [/edit]

 

Dijkgraaf




msg:4462715
 10:48 pm on Jun 7, 2012 (gmt 0)

To fool most browsers not to use a cached resource you need to change the URI of the resource.
So if the frame points to something like
http://www.example.com/add.htm?publisherid=1234
get them to add a dummy parameter e.g.
http://www.example.com/add.htm?publisherid=1234&frame=1
http://www.example.com/add.htm?publisherid=1234&frame=2
This makes the URI's unique and it should then not use the cached version.

You might also want to check that you are expiring your add page immediately and setting the nocache options.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved