Caching and Wordpress

by 1 replies
2
Hello,

I have a wordpress based website that we use an iFrame in to display external content from a 3rd party site. In order for this to work they had us put this code in our head:

Code:
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
I know that code isn't a 100% effective in all browsers but it seems to get the job done. I'd like to speed up my website using something like WP-Total Cache to do the Gzip compression, combine javascript files, and minimize css files.

My question is if I install WP-Total Cache will it negate the above code and if so is there a way to set the iFrame only to expire?

Any thoughts are appreciated,

Shelby
#programming #caching #wordpress
  • It turns out this was a non issue since they put the "pragma code on their site which displays on the iframe.

    For anyone looking to speed up their site quick-cache does a great job, but I have yet to find a plugin that will minimize the javascript and css without breaking it.

    Also for general knowledge Hostgator does not support Gzip unless you have a dedicated server.

Next Topics on Trending Feed

  • 2

    Hello, I have a wordpress based website that we use an iFrame in to display external content from a 3rd party site. In order for this to work they had us put this code in our head: