Object Caching via APC and Transient Expiry
-
Hi,
I would like to use Object Caching via APC to speed up my site. I’m also using the Transients API to store some values for 24 hours. Ever since I’ve enabled Object Caching via APC the values stored in with the Transients API expire much quicker (minutes, not 24 hours). So I was wondering how I could still use Object Caching via APC except for the Transients API (leave them stored in the database).
To try and solve this, I went into the Object Cache preferences.
From the Global groups I have removed site-options and site-transient and added those to the Non-persistent groups. This seems to solve the issue.
The naming ‘Non-persistent groups’ is just confusing me a lot. It seems adding site-options and site-transient to this group makes the data actually more persistent.
Also, should I be adding both site-options and site-transient or just one of them?
Thanks in advance!
- The topic ‘Object Caching via APC and Transient Expiry’ is closed to new replies.