Is priming a Transient Cache possible?

Your issue is not as much priming (which only happens first time) but that cache refreshes in solution you are using are synchronous.

Transients API is not dealing with updates by itself, it is handled by code that calls it. So it doesn’t implement async updates.

On other hand there is nothing that prevents implementing async on top of it. It can be done in custom code or making use of generic solution with such functionality, for example WP-TLC-Transients library.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)