-
- 1 Posts
Hi!
My name's Joe and I am currently doing database management for an agricultural company.
I am using ModX Revolution 2.6.5-pl.
The problem that I have is that when I go to update an image on the site, the new image will appear on the drill down page, but not on the home page. I have tried clearing caches, posting in incognito etc but nothing works.
Could someone please help?
Many thanks
Joe
-
- 571 Posts
Could you show the markup/code in your home page template, and also in the pages where the images are updating successfully?
When you refer to clearing caches are you doing this through the MODX manager? If you are I would try also deleting the contents of /core/cache/ folder directly via FTP or SSH. The MODX Manager does not always clear the cache as thoroughly as it should.
-
- 24,544 Posts
You could try putting the image in a chunk and making the chunk tag uncached using the exclamation point:
-
- 1 Posts
The cache system can be very tricky sometimes.
If the image url is fetched using a snippet, you can make sure the snippet is really called uncached by sending a dummy argument with a value that is always changing. As the parser will detect the snippet call signature (if you call the same snippet 2 times with the same values, the second time the php code will not be executed).
So you can call you snippet with for example [[MySnippet? &dummy=`some id changing ever time`]] to make sure the php code is really run each time.
-
- 24,544 Posts
Have you found that to behave differently than just using the exclamation point?