Microsoft Windows and IE not handling images (favicons too) - html

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

Related

Browser can not longer see saved CSS

So I was working on a page for the last week, every time when I end my job I save my files and close VSCode. Today I came back, opened everything and started writing. After a while I noticed that my rules in CSS did not came up in the page. I thought I did something wrong, so I tried different methods but nothing worked. Then I just opened the CSS in browser with F12 to check if something is off and I saw that it had the last weeks saved CSS. I closed everything, tried again, but nothing. The file is saved in local, I can see when it was changed, but browser still gets to see the last week's save. The link in HTML is right, never changed, the files are in correct folders, all is good. I'm working with WordPress and Twig atm, if this can help somehow.
<link rel="stylesheet" href="{{site.theme.link}}/style.css" type="text/css" media="screen" />
That's the link I used til now, it worked perfectly, paths never changed.
I'm sorry that I can't provide anything more but I can't really know what to show, like I changed nothing and it just stop working.
Thank you in advance for the time you'll take to help!
I suggest you to reinstall Mozilla Firefox. Follow these steps:
Backup your bookmarks (if you have any).
Take a screenshot of Add-ons page. It will help you to find and reinstall them.
Uninstall Firefox.
After uninstalling Firefox remove these folders:
C:\Users\[your-user-name]\AppData\Local\Mozilla
C:\Users\[your-user-name]\AppData\LocalLow\Mozilla and
C:\Users\[your-user-name]\AppData\Roaming\Mozilla.
If you have installed add-ons before uninstalling try this option:
Menu -> Help -> Restart with Add-ons Disabled
Could it be a caching issue?
Try opening dev tools and then right clicking the refresh button.
It will give you an option to clear cache and hard refresh.
(Assuming your using chrome)
If that's the issue and you don't want to deal with it again, then you could consider appending a cachebuster to your css url.
The easiest way to do that would be something like
{{site.theme.link}}/styles.css?r={{ random(1, 1000) }}
Keep in mind that in production, that's going to slow down delivery though (just a little bit, css files usually aren't that large) because it's going to invalidate the browser cache each time the site loads.

CSS not updating on change

When I try and change my current CSS or add new CSS to my style-sheet no change shows up (tags are still being styled by the old unchanged code).
For example, if I delete the contents of a class and I go into chrome debug tool using F12, I can see that the contents which I deleted are still showing up - even if I clear the cache by pressing Ctrl+Shift+R, OR by pressing Ctrl+F5!
All the other files of my website seem to be updating correctly, so if I use inline styles it will update correctly.
Strangely when I go into my websites control panel and manually download the CSS style-sheet from my server I can see that the code has indeed being updated with the new code, this is weird because upon inspecting it with F12, I can still see the old code with no changes.
I am using Microsoft Webmatrix to do my coding.
I am using the Chrome Web browser.
I am using Hostgator hosting.
I've exhausted all my trouble shooting options and have been beat by something that by all means should not occur. I think I've had a problem like this before and I think that it was solved by just waiting a day for whatever magic to work but I shouldn't have to wait. A problem like this is absolutely unacceptable in a live environment. Any ideas of what could be causing this?
FIXED!
changed: https://example.com/app/source/css/main.css
to this: https://example.com/app/source/css/main.css?v=1
You could try ctrl + shift + r (on a PC) to hard reset the browser and make sure the cache isn't displaying old CSS.
One thing is to verify you are editing the correct file. I managed to have that issue one time when I had two files named the same, but one was outside the folder with the index.html and that was the one I was editing.
Add ?v=1 behind the URL of the CSS link in the head, which will force using a non-cached version, because of the different (new) file name. The number should be unique, so if you want to use this in the future, make sure to replace the 1.

Magento only displaying CSS updates on secure URL

I'm having a rough time with Magento. I spent a good deal of time going through the user guide on the Responsive theme, setting up Compass and editing SCSS files and whatnot, but was having the hardest time getting the changes to actually appear on the frontend.
I refreshed/flushed the cache, deleted contents of var/session and var/cache folders, I made sure the site was picking up the correct .css file under 'page source' in chrome.
It seemed like I could get the changes to apply if I changed 'merge css files' to yes, but even when the changes displayed if I made updates they wouldn't be pushed to the front end!
I changed the base URLs, however, and noticed that the secure URL for our site will load the correct .css and actually display the changes, while the unsecured URL says its loading the same .css file but NOT showing the changes.
I'm sure this is simple, but I'm going insane trying to figure out exactly what the problem is. Please let me know if you need more specifics from me!
Thanks a bunch,
Jesse

Can't get rid of Mediawiki InstantCommon Images

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.

Developing HTML email newsletter, refreshing Apple Mail

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!