[wp-hackers] Wordpress set_transient function hampring my server preformance

Alex Hempton-Smith hempsworth at gmail.com
Fri Apr 8 11:44:52 UTC 2011

You could store their history as an array in a cookie? Set it to expire
after x hours and then just read that cookie if they send a contact message?
Zero performance hit on your server.

- - - -
Kind regards,
Alex Hempton-Smith


On Fri, Apr 8, 2011 at 12:29 PM, Suhas Girgaonkar <
suhas.girgaonkar at rtcamp.com> wrote:

> Hi ,
> I am storing site visitor history using wordpress builtin function
> set_transient.
> Whenever visitor navigate throughtout the site I am storing history in
> database using wordpress set_transient function and when any visitor submit
> contact us form I transfer the history to parmenent table as the transient
> data is flushed after 24 hours
> But this causing overhead on my wordpress database and eventually it's
> hampring my server performance can any one help me?
> Does any one have any other solution?
> --
> Thanks & Regards
> Suhas Girgaonkar | Web Developer (Trainee) | rtCamp Solutions Pvt. Ltd.
> Skype: suhasrtcamp | Web: http://rtcamp.com
> _______________________________________________
> 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