[wp-hackers] Nonce and Caching Issue

Martin Lazarov martin at lazarov.bg
Tue Sep 27 10:55:07 UTC 2011


Use post method when requesting the ajax page/form/reuqest. Almost all
cache plugins doesn't cache _POST request.

Martin Lazarov,
http://marto.lazarov.org/plugins

On Mon, Sep 26, 2011 at 10:26 PM, John Turner <johnnytee at gmail.com> wrote:
> I have a form that displays on the front end of the wp site. I use ajax to
> submit it back to the backend. I'm having an issue when using a caching
> plugin where the nonce is invalid because of the cached page being server
> has an expire nonce.
>
> Are there any best practices to get around this?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list