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. Brandon Lavigne
    Member
    Posted 1 year 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 1 year ago #

    Thanks for the suggestion and I am working on it.

  3. theAlpinePress
    Member
    Plugin Author

    Posted 11 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic