Results 1 to 3 of 3

Thread: Iframe SSI script II

  1. #1
    Join Date
    Oct 2005
    Posts
    86
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe SSI script II

    Iframe SSI script II

    http://www.dynamicdrive.com/dynamici...iframessi2.htm

    Please help. I am using this script and I have a small problem with caching. When I make changes to the external pages that are referenced, the changes don't show up until I clear my cache. Is there any way we can make the changes in the referenced page show up without having to clear the cache in the browser each time.

    Thank you.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    You could try using the "no-cache" meta tag in the HEAD section of the external pages:

    Code:
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
    In IE, a buffer bug means you may in fact need to add this tag twice, one at the top, and one at the bottom of your page, with the header tag and all:

    Code:
    <HTML>
    <HEAD>
    <TITLE>Iframe content</TITLE>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
    </HEAD>
    <BODY>
    
    My body here. My body here.
    
    </BODY>
    <HEAD>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
    </HEAD>
    </HTML>
    You can read about the bug here. Note that even with the no-cache tag added, not all browsers will truly completely not cache a page, so this may not work as you expected.

  3. #3
    Join Date
    Oct 2005
    Posts
    86
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much. It works perfectly.

    I love this DD.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •