• Resolved pickme

    (@pickme)


    Hello,

    I am using an instagram feed on a site which does not display newly uploaded photos from the instagram account if I don’t purge all caches manually.

    I have enabled: Page cache, Minify, Browser cache, CDN

    Which setting on W3 Total Cache should I change in order for newly uploaded photos on the instagram account to get displayed on the site via the instagram feed without having to purge caches manually?

    Thank you!

    • This topic was modified 6 years, 2 months ago by pickme.
    • This topic was modified 6 years, 2 months ago by pickme.
    • This topic was modified 6 years, 2 months ago by pickme.
Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickme

    Thank you for your inquiry and I am happy to assist you with this.
    Can you please check in your Instagram feed plugin the following:
    Try going to Instagram Feed > Settings > Customize. Scroll down until you find “Cache error API recheck” and Force cache to clear on the interval (near the bottom of the page) and see if those settings are enabled.
    Thank you!

    Thread Starter pickme

    (@pickme)

    Hello,

    I have contacted the plugin’s support because there is no such setting for this plugin. I will provide an update for the topic.

    Thank you for your answer. Please don’t close the topic yet.

    Regards

    • This reply was modified 6 years, 2 months ago by pickme.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickme

    Please let us know what is the reply from their support.
    Can you also please share which Instagram feed plugin you are using?
    Thank you!

    Thread Starter pickme

    (@pickme)

    Hi!

    Their reply is this:

    ‘Instagram requires to implement a cache in every app. But if you go in the instagram settings panel and hit the save button, it should flush the cache.’

    I am using Wolf Gram. It’s a plugin developed by the theme developer.

    I will keep you updated. I’ve asked them for clarifications as to if I need to hit save every time there is a new uplodaed photo or the process will be fixed.

    • This reply was modified 6 years, 2 months ago by pickme.
    • This reply was modified 6 years, 2 months ago by pickme.
    • This reply was modified 6 years, 2 months ago by pickme.
    • This reply was modified 6 years, 2 months ago by pickme.
    • This reply was modified 6 years, 2 months ago by pickme.
    • This reply was modified 6 years, 2 months ago by pickme.
    Thread Starter pickme

    (@pickme)

    Their follow up reply:

    ‘The instagram cache and W3 Total Cache are 2 different things.

    Once you post on instagram, your feed should be updated automatically and the cache flushed after about an hour, so you shouldn’t have to worry about it except if you want to force to update the images.

    For W3 Total Cache I suggest setting it to flush the cache in regular interval like one or twice a day.’

    According to their reply, which setting in W3 Total Cache should purge the cache in regular intervals?

    Thank you!

    • This reply was modified 6 years, 2 months ago by pickme.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickme

    Are you using a widget for this? Can you please share your website URL?

    Thread Starter pickme

    (@pickme)

    It is not a widget.

    The feed can be provided either with a shortcode or with a WPBakery Page Builder custom element.

    https://www.p56.gr/en/ > Please scroll down towards the bottom of page to view the instagram feed.

    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickme

    Once you post on instagram, your feed should be updated automatically and the cache flushed after about an hour, so you shouldn’t have to worry about it except if you want to force to update the images.

    After the new mages were published on Instagram, how long have you waited before purging the cache in W3 Total Cache?
    Thank you!

    Thread Starter pickme

    (@pickme)

    Hello @vmarko

    I waited 24 hours to see if the new image uploaded on instagram will be displayed in the feed. It did not. Therefore, I then purged the cache in W3 Total Cache and new image appeared in the feed.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickme

    Can you please share the settings enabled in Performance>Page Cache?
    Thank you!

    Thread Starter pickme

    (@pickme)

    General:

    Checked > Cache posts page

    Don’t cache front page

    Checked > Cache feeds: site, categories, tags, comments

    Checked > Cache SSL (HTTPS) requests

    Cache URIs with query string variables

    Checked > Cache 404 (not found) pages

    Don’t cache pages for logged in users

    Checked > Don’t cache pages for following user roles

    Purge Policy: Page Cache:

    Checked > Front page

    Checked > Posts page

    Checked > Post page

    Checked > Blog feed

    Checked > rss2 (default)

    Purge limit: 10

    REST API > Don’t Cache

    Advanced:

    Checked > Compatibility mode

    Garbage collection interval: 10800

    Comment cookie lifetime: 1800

    Handle XML mime type > Checked > Handle XML mime type

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickme

    Thank you for the information.

    Checked > Cache feeds: site, categories, tags, comments

    Disable this option and save all settings.

    Checked > Compatibility mode

    is there a specific reason that you are using this option?

    Garbage collection interval: 10800

    This is set quite high. You should reduce this to default 3600
    Can you please also share what is the value set in Performance>Browser Cache>HTML&XML Expires header lifetime:?

    Thank you!

    Thread Starter pickme

    (@pickme)

    Checked > Compatibility mode = I have checked this because of the comment: Decreases performance by ~20% at scale in exchange for increasing interoperability with more hosting environments and WordPress idiosyncrasies. This option should be enabled for most sites. < I unchecked it!

    Browser cache > HTML & XML:

    Unchecked > Set Last-Modified header

    Unchecked > Set expires header

    Expires header lifetime > 10800 seconds

    Checked > Set cache control header

    Cache Control policy: cache with max-age (“public, max-age=EXPIRES_SECONDS”)

    Checked > Set entity tag (ETag)

    Checked > Set W3 Total Cache header

    Checked > Enable HTTP (gzip) compression

    Unchecked > Enable HTTP (brotli) compression

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickme

    Thank you for the information.
    The TTL of page cache files is set via the “Expires header lifetime” field in the “HTML” section on the Browser Cache Settings tab.
    Can you please enable set expires header, and set the Expires header lifetime: interval to 3600 (default) save all settings and purge the cache.
    See if the Instagram feed gets updated after these changes.
    Thank you!

    Thread Starter pickme

    (@pickme)

    All set.

    I will give an update.

    Thank you for you help @vmarko !

    • This reply was modified 6 years, 2 months ago by pickme.
Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘Instagram feed’ is closed to new replies.