[Plugin: W3 Total Cache] Hide code not cached in footer... (2 posts)

  1. jaysonbrown
    Posted 6 years ago #


    I have a PHP random script that loads an iframe in the footer, it works,

    But for obvious reasons the ‘random’ doesn’t work when cached … is there away insert code that wont be cached by W3?

    Possibly in the footer message?



  2. Frederick Townes
    Posted 6 years ago #

    There's not enough information to be sure, but you can add the script in question to never cache the following pages field on the page cache settings tab. Location of the iframe is not the issue. The fact that it's loaded in an iframe should make it irrelevant to the cached page containing the iframe. Anyway more information is required to be accurate here.

Topic Closed

This topic has been closed to new replies.

About this Topic