Support » Plugin: Add Link to Facebook » [Plugin: Add Link to Facebook] wp_options and comment cache

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Add Link to Facebook] wp_options and comment cache’ is closed to new replies.