Cache & Performance
How caching works
The plugin caches link query results using WordPress transients. For each page, the first render triggers a database query to find matching keywords. The result is stored as a transient (ailsitem{post_id}) for subsequent renders.
Expiration
The default cache expiration is 14 days. This can be adjusted via the expiration setting. After expiration, the next page view triggers a fresh database query.
Clearing the cache
Use the Delete Transient Cache button on the Sync tab when you need changes to take effect immediately. This is necessary after modifying the activity log or manual links, changing excluded keywords or tags, or updating focus keywords in your SEO plugin.
The cache button only clears transients created by this plugin. It does not affect any other cache plugin on your site (WP Super Cache, W3 Total Cache, LiteSpeed, etc.).
Performance impact
The plugin is designed to be lightweight. The database query runs once per page per cache period, and the transient system ensures subsequent page views are served from cache. Even on shared hosting, the SYNC and AUTO LINKS processes are designed to handle 1 000+ items without server strain.