• Hello,

    My hosting is having problems with a long query send by your plugin.

    The query is related to _transient_rl-attachment_ids wich is being updated on wp-options table too often.

    Is it possible to disable it? Why do you need to use this transient for a lightbox gallery?

    regards,

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author dFactory

    (@dfactory)

    Funny, but we’re using this make things faster and require less resources (we store image url->attachment id relation).

    Maybe it’s colled too often if you have a lot of images on site. I suggest using rl_object_cache_expire filter hook to change the transient expiration from one day (default) to sth different, for eg.

    function custom_rl_object_cache_expire() {
    	return WEEK_IN_SECONDS; // or MONTH_IN_SECONDS
    }
    add_filter( 'rl_object_cache_expire', 'custom_rl_object_cache_expire' );
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with _transient_rl-attachment_ids’ is closed to new replies.