Some question regarding configuration
-
I am mostly having issue with caching a custom post type which gets data from some other sites so it takes quite a lot of time to load and it is important for these posts to be per-loaded and served from cache all the time. The information on the posts dont have to be updated to minutes or even hours. It’s fine even if it gets updated after 1 day.
So this is how i’ve configured the W3TC. I just want to validate my settings and get suggestions from you guys.
1. The page cache is set to memcache option with an IP provided by my hosting provider. On the Page Cache menu, I’ve disabled cache preload since I am using the Warm Cache plugin which runs a cron job after 24 hours and loads all pages defined the XML sitemap. This helps in W3TC cache preloading.
I’ve set the page cache purge policy to purge front page, post page, posts page and blog feed. “Maximum Lifetime of cache objects” on the page cache menu is set to one day (86400 secs).
2. I’ve disabled minify for now because it was breaking some pages on my website. I’ll talk to my theme provider to solve this issue. I’ve also disabled database cache because my hosting provider said so. If it really helps in improving the page speeds, I can ask them to help me enable it.
3. Then comes with Object Cache page. This is really important for my custom post type. Because the data retrieved from other sites is saved using Transients API (with expiry time of 1 day) if caching isnt not enabled. Presistant object caching is recommended with this. Object cache is also set to memcache. Default Lifetime of cache objects and garbage collection interval is set to 1 day (86400 secs). I noticed written in the menu that bigger the lifetime, bigger the cache will be. I’ve like 2000 posts, so setting it to 1 day with 2000 posts is fine or it’ll stress my server?
That’s pretty much all that I want to know for now. Thanks in advance.
- The topic ‘Some question regarding configuration’ is closed to new replies.