Forums

[Plugin: Flickr Gallery] Cache does not work as expected (3 posts)

  1. shihan
    Member
    Posted 4 months ago #

    Hi,

    unfortunately, the cache does not work as expected. flickr-gallery issues on every site request a request for image information from flickr.
    The exact problem is that in phpFlickr class, the request array used in function "cache" is different from the one used in function "getCache".
    Every request is cache in database, but the cache is not being used at the next request.

    I helped myself by this ugly workaround at the top of "cache" and "getCache":

    unset($request['secret']);
    unset($request['api_sig']);
    unset($request['sort']);

    Hope you will have a more advanded resolution for this wired issue.

    Another problem could be, that the order of the keys in the request array is different and as a result the hash is different, too. May be you can also check that.

    Thank you very much for your help and this great plugin!

    Dominik

  2. DanCoulter
    Member
    Posted 4 months ago #

    I'll do some checking on this. Thanks for pointing it out.

  3. moxiewellness
    Member
    Posted 3 days ago #

    I'm not familiar with much on the technical end and wondering if I could get a step by step or 'layman's' way of solving the cache problem with the flickr - slickr plugin. Photos are being displayed that have been already completely deleted from flickr and also photos are being displayed that are in albums that are not clicked on to be displayed...but that album was formerly displayed. It seems that the cache is not fully clearing and refreshing when refresh button is hit.. is there a manual way to do this?

Reply

You must log in to post.

About this Topic