Add Link to Facebook
wp_options and comment cache (3 posts)

  1. edwardnh
    Posted 5 years ago #

    I have noticed that Add Link To Facebook uses the wp_options table in the WordPress database to store the comments cache. This table is one of the most referenced by the Apache server, and therefore, I would like to keep the table short. Is it possible to move AL2FB transient cache entries to a separate AL2FB-specific table? That would have the double benefit of reducing the size of wp_options and of allowing users to delete or wipe the AL2FB table if they want to refresh their comment stream.

    many thanks for all of the updates.


  2. M66B
    Posted 5 years ago #

    I don't see an advantage of moving the cache to another table. Your database will be accessed anyway. I use the standard, but little known/used transient API, because I don't want to invent the wheel again. If table access is really a problem, the transient API may even be an advantage to you:

    Also of note is that Transients are inherently sped up by caching plugins, where normal options are not. A memcached plugin, for example, would make WordPress store transient values in fast memory instead of in the database.

  3. edwardnh
    Posted 5 years ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Add Link to Facebook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic