Support » Plugin: Category Posts Widget » using transient api

  • Resolved jaboli

    (@jaboli)



    Hi.do you use transient api for this plugin or not?!
    this is important for me that widget just update when new posts publish and get transient for main posts and cache them for optimizing loading website

    • This topic was modified 1 year, 6 months ago by  jaboli.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Mark-k

    (@mark-k)

    Hi Jaboli,

    We do not use transients or any other explicit caching. We leave all caching decisions to object caching and full page caching plugins. If you need your pages to be fast while keeping all the content “fresh”, object caching is your best friend.

    so your plugin use object caching?!i have a news website http://akhbartop.com/ as you can see in my main page website i have man box that display different category’s posts by the same widget that i coded myself but it does not cache old posts and does not update new post by the way when someone refresh main page all posts reload from database and this cause slow loading of my website.
    does your plugin check this issue or not?!

    Plugin Contributor Mark-k

    (@mark-k)

    so your plugin use object caching?

    Indirectly. All (or at least most) results of DB queries done by wordpress are “automatically” stored in object cache if one is available.

    Again, if you want your site to be both fast and display information in “real time”, you need in general to have an object cache working. We do not try to add additional caching layer, as this has a cost of its own.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘using transient api’ is closed to new replies.