I'm developing an HTML newsletter system using PHP & PEAR. It sends out the emails fine.
However I cannot force Apple Mail to reload images from the server. I have tried:
Restarting Mail
Clear ~/Library/MailDownloads
Clear ~/Library/Cache/Mail
Empty Safari cache
Does any one know where Apple Mail caches the images ?
Is adding a dummy query string to all image URLs an option for you?
<img src="http://example.com/images/hello.png?343882881923"/>
You'd simply update the query string to prevent the cached image from being used.
You could use OnyX to clear all apps cache and also tune up other aspects of the OS.
I just encountered this problem, and was able to solve it by quitting Mail and deleting:
~/Library/Caches/com.apple.mail/Cache.db
Using the latest FSeventer program I traced the cache file to:
/private/var/folders/Sl/rand chars+++TM/-Caches-/com.apple.mail/Cache.db
I tried turning of internet connection, deleting the file, and then viewing the HTML newsletters. No images loaded. After re-connecting and viewing the HTML mail the Cache.db file grew to 1MB in size.
There seems to be another intermediary cache. I tried deleting the cache & disconnectinf whilst viewing two different newsletters. They bothy displayed properly. After I quit and re-opened Mail, they images did not display.
So it is possible to delete the cache, but I have not found a way to force refresh the images.
I spent some time playing with this today and was able to duplicate the problem easily. The image in mail doesn't change - whichever picture shows when you first look at the email seems to stay with that message no matter how many times you change the image on the server. Even when I forward the message to myself it doesn't reload the picture. Wow. And I couldn't find the images anywhere in any cache, either.
I did find a reference from last summer to this same problem with no real answer. One person agreed with Leandro Ardissone's answer and recommends using OnyX to "trash the Application Cache", but it's only a one time fix.
The "dummy query string" suggested by Ates Goral worked great for me, so if you can deal with changing that every time you change the picture that seems to be your best bet.
Wish I could be more help, but I'm stumped.
I think we need someone from the Apple Mail group to enlighten us to a real fix!
Related
I have an old site I am just about well enough (broken arm + cancer) to start working on again and I have already moved it to another server OVH and added an SSL/TLS certificate to it.
However in Chrome when I visit any page on the site, especially https://www.strictly-software.com/plugins/order.asp it shows either (don't know why refreshes would change it but they do sometimes) the insecure sign with the red line through the https:// part of the URL in the address bar or an information circle.
In Firefox however I get a secure lock sign. It maybe some add-on I have used like a popup blocker or something but I am at a loss to find out what is causing these insecure signs to appear when I need locks, especially on the order page
This morning I spent hours going through loads of JavaScript and CSS (background:http://blah.jpg) etc and changing it so it is local and cannot be changed remotely as well as making any http references into src="//" or href="//" etc.
I thought it must be one of the images on the "add this" pop up but cannot see anything in their code. Then I thought the Twitter scroller might be showing images from http destinations but Twitter wraps them all in their own URL format.
Does anyone know from looking at the generated source code what is making the page insecure?
Surely there should be a list somewhere in the browser that shows what content isn't secure and offers you to load or not load it? I know the information icon lets you load or not lot Flash, images or JavaScript but do you know of how I can find out what content isn't secure on these pages without asking visitors?
Thanks in advance.
So my website: ropinranch.com
looks FINE on any browser (so far) if you haven't accessed the page in the past. But for any of my previous users, it looks messed up when they load it.
We've all cleared all of our cookies, and emptied our cache. I even edited a new image on the page to see if that would change and it DID.
I cannot think any other way the page would be keeping memory of it.
One of my testers said that if they had the page bookmarked in the past of it working fine, that when clicking on the bookmark it loads fine still -- but typing in a URL fails.
Any other ideas on what I'm missing here?
Update: I realized what happened -- but I'm unsure how to fix.
https://ropinranch.com WORKS
but
www.ropinranch.com does not. I know theres a setting in my c-pannel to change this but I don't know what it's called
Try ctrl+F5 to reload the page without caching.
This helped me temporarily:
By Varun: If you are just testing, could you try passing a timestamp or random number in the URL ( manually , just for testing ) and check. Eg : http://ropinranch.com?f=141414542343 (each time with a diff number )
But What I did was I had to go through the server and reroute all traffic to my SSL site rather than things of www. or http://
I want to achieve:
I have a html page that displays an image.
which is pretty easy. [say my image file name is xyz.jpeg]
When the file changes or replaced with new content, say, the server or by some other mechanism the file is getting changed,
Now I want this modified image gets displayed in the browser WITHOUT REFRESHING the web page
So, kind of a notification system in which the browser is notified with new image, and gets displayed.
I am not expecting the exactly source code, but a direction of which tool that can be used?.
I have come across websocket, but I am not sure if this solves this purpose.
The image can be refreshed on timely manner(for eg 10 seconds) using javascript, ie request will be send to server in specified time interval, and the image will be updated, this is pretty easy to code also. Please refer this question
However this solution has got a negative impact on performance, since the number of request to be served is too high if the page is accessed by multiple users.
Hope this solves your doubt.
I have a mediawiki at http://spider.dnsdojo.net running on LAMP. I enabled the use of InstantCommons while trying to setup the UploadWizard extension. Ever since I can't get at least one of my images to show up correctly. It keeps showing the InstantComons image even though I have disabled the use of InstantCommons.
-So far I've
cleared the cache and cookies on chrome
purged the site using index.php?title=3x3x3_LED_Cube&action=purge
delete all images and re-upload
It's driving me crazy, because when I click on the image it takes me to the file page which shows the correct jpg. What am I doing wrong?
I'm not sure if this is a MediaWiki bug or if I was just doing something wrong, but I finally got the proper image showing up. What finally did it, I think, was uploading the image and then uploading it again over top of itself. Maybe this will save someone else a few hours of frustration.
I've read the SO posts regarding this and can not find a solution.
I've tried changing the link in the HTML to another location. I've tried clearing all the browser data. But, it still pulls a previous favicon.ico.
Does anyone know where it is getting this old favicon.ico? I should be able to delete it manually at a minimum.
This site process does not work.
http://www.phpjunkyard.com/tutorials/force-favicon-refresh.php
Actually answer might be here:
How to clear IE's favicon cache?
This is wrong too...clearing the browsing history and cache..does nothing to the favicon.ico file
O.K...there was a check box you have to de-select to keep it from saving favorites...this was not intuitive b.c. you have to select all the rest.
From there I changed the file name and link to in the HTML.
Then I waited about a day
Then it changed....I.E has some sort of timer..can anyone quantify this delay for it to pick up changes?
I've recently noticed that Windows 7 does not update images, that is if I save and image over and exiting image...windows will still display the old image until I click on it. Probably related in some way to Microsoft's philosophy on updating images