WordPress.org

Ready to get started?Download WordPress

Forums

Alpine PhotoTile for Instagram
[resolved] Cache using get/set_transient instead of writing to a file. (3 posts)

  1. drrobotnik
    Member
    Posted 5 months ago #

    You've gone to lengths in order to properly cache remote calls, which is great, but the way you're storing the cache is redundant and slow. I recommend caching to WordPress transient which would store the serialized data in the database rather than a file.

    Your widget on my server takes up to 5 seconds to output the instagram feed.

    https://wordpress.org/plugins/alpine-photo-tile-for-instagram/

  2. theAlpinePress
    Member
    Plugin Author

    Posted 4 months ago #

    Thanks for the suggestion and I am working on it.

  3. theAlpinePress
    Member
    Plugin Author

    Posted 4 months ago #

    I have added get_transient to update 1.2.7. You are certainly right. It is much faster. Please let me know if you have any other suggestions.

Reply

You must log in to post.

About this Plugin

About this Topic