We are using CE Cache's static caching on our site because of some performance issues on our server. We are also using Freeform to place a newsletter sign up form on just about every page. Obviously this caused problems as Freeform uses the XID parameter for security purposes and when the page (and thus form) are cached it fails that security check.
We were wondering about possible options to get around this. The obvious option is to not cache the pages in that way, but the page load would behave strangely as some parts would be cached and load quickly, while other parts would take a long time to load. Some other options we considered: have that form submit to an in-between page that then does the actual Freeform submission (this seems to messy and too much overhead), have the form load in an iframe on the page (this would work except for the above issue that the whole page would load and leave that empty iframe until it loads), or move servers (ugh).
Is there any way to disable that security check for Freeform? Or is there a way around this issue? I was surprised to see that a google search on the topic didn't bring up any results, I just wanted to make sure I covered all the options before picking one. Any insights on this issue from others that may have experienced something similar?