Jump to content

Archived

This topic is now archived and is closed to further replies.

evscicats

Section Caching issues with Folding Category List Plugin

Recommended Posts

evscicats

I turned on the section caching yesterday for the first time and wow my Pagespeed rating went up (88/100 Desktop).  Thank you so much!  

 

However, I'm experiencing a problem with a category widget plugin that I'm using and the problem is happening when I turn on Section Caching.  The plugin is "Folding Category List (FoCaL)."  What's happening is the section caching is not allowing some child category buttons to be clicked when Section Caching is on.  When it's off, the buttons work fine.  Go to our main blog feed here http://evscicats.com/resources/ to check it out.

 

I'm using WP Super Cache on my site along with other plugins.  I have cleared Super Cache multiple times to see if that fixes the issue and it doesn't.  FoCaL has its own caching and I have deleted its cache and turned off the caching capabilities - still has the issue.

 

I have left the section caching on so you can see what it's doing when you click around.

 

Any help is greatly appreciated.

 

Thanks,

 

Jerrad

Share this post


Link to post
Share on other sites
evscicats

Forgot to mention - when users are logged into the site (all user roles tested), the category buttons work fine.  It's only when you're not logged into the site the issue exists.  

 

Thanks - Jerrad

Share this post


Link to post
Share on other sites
Simon

You will need to add the sidebar to cache bypass variable.

 

https://gist.github.com/7565856

 

 

Add to child theme functions.

Share this post


Link to post
Share on other sites
evscicats

That fixed the sidebar, but the category descriptions are not updating and the postloop is not updating.  If you click on "Google," it shows the "Google Drive" child Category Description at the top but it does show all the Google Parent posts.  If you click on Google Drive, the category description stays Google Drive and the posts are still the parent Google posts.

 

Is there more I can add a bypass for or am I just better to leave section caching off?

Share this post


Link to post
Share on other sites
Simon

You can add any section ID to that array, the cache is very simple and primative if you have complicated pages where sections depend on data from other sections its not guaranteed to work.

 

Your milage may vary ;)

Share this post


Link to post
Share on other sites
evscicats

Thanks for your help.  I'm going to leave section caching turned off.

Share this post


Link to post
Share on other sites

  • Similar Content

    • dreamsight
      By dreamsight
      Added a captcha for the comments, didn't like it so I deactivated it and installed another plugin. Both captchas appeared on the post's comments so I deleted the deactivated captcha plugin, including associated files, but it still shows on the post. Unticked Section Cache and it disappears, tick section cache and it reappears.
       
      Is there a way to purge section cache?
       
      http://fulfilmentwarehouse.co.uk
    • dreamsight
      By dreamsight
      This really threw me...
      The client was complaining that the pages weren't changing when he clicked on the menu. I checked and although one of the guys here had created the menu in html and pasted it in a text box (he has been told) it all worked fine. Tried in IE and Firefox and the client was right, I clicked a link and the url changed but the content/post loop stayed the same.
      Logged in and the pages all work fine.
      Turned off W3total cache and then all plugins but still had the same problem. Turned off Section Caching in the Pagelines Pro settings and all the pages work fine.
       
      http://www.sail-help.co.uk
×