Exclude external links from HTML cache?
-
I’m running the Avada theme on a website that I maintain, which uses Avada’s built-in Instagram post gallery.
I’m having some caching issues with the links. Avada looks for new posts and is suppose to fetch the updated image CDN links once a day (The cron does appear to be running). However, the links seem to be getting cached in the HTML and are not updating, leading to that element breaking once the Instagram CDN links expire every few days.
What can I do to make sure that these external links are never cached in the HTML?
The links are formatted like so:
https://scontent-bru2-1.cdninstagram.com/
The sub domain will change per image depending on where it is served from, but the domain cdninstagram.com always stays the same.
As far as what I have tried so far: I have excluded “cdninstagram.com” in Cache > Excludes > Do Not Cache URIs. I have done the same in Page Optimization > Tuning > URI Excludes. I have disabled HTML minification and I have also excluded the JS files for that module just as good measure.
HTML doesn’t appear to be (and shouldn’t be) cached on Cloudflare.
What can I do to make sure that these links always stay updated? I’m having to manually purge the cache about every two days to keep it updated which I cant do for the long run.
Report number: WKLBACNV
Thanks!
ChrisThe page I need help with: [log in to see the link]
- The topic ‘Exclude external links from HTML cache?’ is closed to new replies.