Forums

Chronforms With Gzip and Cache Enabled

philraymond 24 Jan, 2013
Is it possible to get chronoforms working with gzip enabled and system cache on progressive and plugin cache enabled?

I'm willing to sacrifice captcha in order to get this to work, but even doing that hasn't hehlped - the form just doesn't send. This is the only component I've yet to get playing nice with the above optimization features.

Thanks,
Phil
GreyHead 24 Jan, 2013
Hi philraymond,

Generally caching and forms don't work well together. ChronoForms has a little security check to make sure that the form is being submitted by the same user as loaded it and this is broken if the form has been cached.

That said, I don't know why you wouldn't be able to submit the form.

GZip theoretically shouldn't be a problem provided that the zipper is careful to make sure that the code is handled properly. Again, some of the ChronoForms script snippets are generated on the fly and so cached copies may not work correctly. More often though the problem is that zipped script packages seem to unpack in an unhelpful order.

Bob
philraymond 24 Jan, 2013
Thanks Bob, I will look into this further. For now I've got it working as long as I remove any captcha and disable system cache. It seems to be okay to leave gzip and plugin cache on. Phil
This topic is locked and no more replies can be posted.