HTML - Browser Caching Problem - Post/get Ajax
Similar TutorialsOften when I need to test a page in a browser the changes I made to the page dont happen because of th browser caching the page. With Chrome I'm able to hit ctrl F5 but with firefox its hit and miss. Regardless I would like to not have to worry about it at all. Is there some sort of solution to this problem? thanks Hi, I am designing a small website for a friend and decided to use Ajax on one of the pages: http://122.201.74.87/~natural/treatments.html Problem is in firefox the white background (cell) doesnt extend with the ajax cell so the text just runs down the page over the purple background. But if you look at the page in internet explorer the white background (cell) extends and collapses with the ajax cell like it should. Can someone have a quick look at this and let me know what changes i should make so it works in firefox like it does in IE. PS. Yes the coding is nothing special because it is just a quick site i put together for a friend. Thanks. HTML Question -------------------------------------------------------------------------------- I have a form which has a submit button on it which then causes the following action (We send infromation back to a server which "reads" the test of an email and actions a request) Quote: <FORM ACTION="mailto:myemail@tppg.com?subject=Order Details" METHOD="POST" ENCTYPE="text/plain" NAME="frm1" Order> What this normally does is send an email to the recipient in Plain Text Format in the body of the sent email What is occasionally happening is the email being sent is multi-part message in MIME format There is a setting in MS Outlook which has an option for HTML, RTF Format, or Plain Text Is there a way to ensure that the email format is always plain text regardless of this setting ? eg, I am using Outlook 2000 with the send email setting = HTML My system still sends the Submitted email in Plain Text format (definitely is not being sent in HTML format, even though my setting says to use HTML) Wondering if it is later versions of MS Outlook causing the problem perhaps ? Any ideas most welcome, thank you MORE INFORMATION When an email is sent correctly, it has the following characteristics Quote: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 ABCCRSite=CZ01 <--- beginning line of text sent Notice the = sign is followed by CZ01 When an email is sent Incorrectly, it looks like Quote: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7CE7E.9BFF8050" Subject: Order Details This is a multi-part message in MIME format. ------_=_NextPart_001_01C7CE7E.9BFF8050 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ABCCRSite=3DCZ01 Notice that the 3D follows the = sign (Hex 3D is an equals sign) The line "This is a multi-part message in MIME format." causes our system to crash as it is not a label - just a comment Hey guys, I'm not one being familiar with how caching works, and reading on it only made me more confused/unsure. Okay, here goes: I've inherited a website from someone else (professional, I'd assume) and now I'm solely responsible for updating and maintaining it. What I noticed is that when I upload (via FTP) new files, it takes forever for me to be able to view the new page. By "forever", I mean usually 2 or 3 days, and never less than a day. So what I did yesterday was to add in two additional META tags in the header: Code: <META HTTP-EQUIV="Expires" CONTENT="Fri, 1 Jan 2010 1:00:00 GMT"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> where I deliberately chose a past date so that it'll force the server to serve the latest copy. But after what happened, I realised this is wrong, because the page kept reloading everything, including images during any mouseovers! My question... how should I set it so that it will only cache pages that have not been modified? If it is possible to separate -- within HTML or PHP -- HTML files from larger files like pictures, PDF etc. that would be even better. i need to disable image caching <img src="picture.jpg?1222259157.415" alt=""> - doesn't suit me as i want to disable caching for Flash app and it doesn't support this kind of links also don't tell me about: header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); as for images this just doesn't work First off, hello to everyone! I'm relatively inexperienced in the area of webmastering, and have a weird question... I created a site for the union where I work, and have noticed a very annoying phenomenon. When we update a page, it sometimes doesn't update right away (sometimes for several days) when we try to access the page from within our building. Clicking "refresh" has no effect in IE, but clicking "reload" in Firefox does! Also, in both browsers, clearing browser cache before re-loading the page doesn't force the browser to get the new page from the Internet (I thought it might, but I guess not.) I did notice, however, that clicking a link to the page (rather than typing it by hand), gives a different result: in IE, it takes you to the old version of the page, but then hitting "refresh" now really does load the new version; but in Firefox, the behavior is the same as if the URL were typed in by hand. A friend who is much more experienced than I am said it's likely that our IT folks (who administer the network we use to access the Internet in this building) are running software that caches frequently-accessed pages, to speed things up and cut down on bandwidth usage in the buillding. If this is the case, is there some script or code I can insert into my HTML that defeats this and forces the browser to load the page from the actual URL on the Internet rather than the cached version? Or, if my experienced friend is wrong, what on earth could be causing this weird problem? The hosting company says it seems like a local caching issue, and not on their end. Thanks for any help you may have! -Mark hi guys ... i m developing a static web-page using HTML . When i run the page in IE, it works well but it is not supported at the same time by Mozilla . So, where might be a bug in the script? Hi all I'm new to html... I'he created one Html Page. Which comtains Frames. It is working fine in Firefox but in IE8 size is increased.. (Looking Like Zoom In) and Border of the Frame is not displaying in IE8. (You can see it in Images) so How to Make it look Similar on all Browser? Please help me to solve this.. I am making a website he http://musicalmadness.zymichost.com/index.htm In the links on the left there is a page called "Solo Albums" - this is the page I'm having trouble with. As you can see, I've made tooltips over the images listing the tracks of the albums. I've decided to make them position underneath the image. However, when they are activated they are shifting the entire page around. Is there a way to make it so they simply appear OVERLAYING the rest of the page? PLEASE look at CSS. Thank you! I have created a web page which is running acquratey on IE8 but not running acqurately on IE7 or other version. how come i cant get my site to look the same in both browsers, im setting the margin, so the browser know then it changes between ie and firefox ie renders it how i want www.mynightclubs.co.uk css www.mynightclubs.co.uk/css/main.css Hello! Please ceck: http://htlounge.net/testing Near to logo is a adsense banner.. 468x60. In IE and Opera is displaying ok! But in Firefox not.. It is a white space! What is the problem! Thank you! I created a website with google pages http://jlandbirk.googlepages.com/cross It works fine in Explorer but some problems in Firefox. In Firefox the banners are spaced further apart. But when I click on them they grow closer together. Keep in mind google pages has some built in code. Any ideas? Goodnight, i don't know why i can't access to this website : www.moroccantrolls.co and other of my friends do !!!! some of them told me to shutdown adblock ??? plzz Help. I would like this banner to open in a new browser. I have tried placing target"_blank" in several different places with no luck. Any assistance would be appreciated! <a href="http://worldsluxurywatches.com"><img src="http://img843.imageshack.us/img843/1227/91075540858.jpg" border="0" width="274" height="184" alt="BannerFans.com" /></a> Thanks! Terry Hey guys, I have some questions regarding my recent school project. I'm working on a simple video-interface interaction that I'm having trouble with. http://www.autoquicktrade.com/voto/ However, it only works on firefox. If I use safari/google chrome to view it, it will bounce up and down. Also, how can i make sure my mouse cursor stays in the video so when i scroll it won't make the website scroll too? (I tried Iframe but it doesn't work)* Any ideas on how I can solve this? Please help! Thanks Greetings! I'm trying to put sheet music into my webpage. However, whenever I add the notes via notepad, the outcome always looks like a complete mess. Example: Take a look at the sheet music on this page: http://www.ultimate-guitar.com/tabs/..._album_tab.htm How can I copy and paste this and keep an organized format when plugging it into my my website. ty Just like everyone else is seeming to have lately, I am apparently one of those lucky people anyways i am having a problem positioning my whole page between browsers. It works just how i want it in firefox (centered kind of), but in ie6, and ie7 its all scrunched to the left. anyways the link to my site is: http://uberwalla.110mb.com It would be greatly appreciated for some help also help on any other browser there might be problems with would be great. If anyone has safari, netscape and opera i mean. to help me format my template. well thanks a bunch! - uberwalla Hi there, Im sorry to be bringing up this rather well trodden topic, but after extensive searching through forums and trying everything I could find, I must admit I need some expert advice. Building a website, mostly html, with a small amount of css for text. Site works well in safari, firefox, chrome, but not IE. IE (7) displays the top navigation bar section, but ignores the rest of the site. Ive been trying to validate and fix all the problems, but some of the issues raised I cant fix without changing the site's appearance. I dont believe my css is complex, and other info sites have suggested what Ive used should be supported by IE7. The only thing I can now think is that for some reason ie7 doesnt recognise the second table onwards. I am sorry to be using tables - this may be my downfall - but my client wanted to have the site as accessible across the world (and so rubbish olf browsers etc) so I wanted to use as little css as possible. Any suggestions would be very much appreciated, Lindsay the url is: http://www.mosaiccreative.co.uk the css is as follows: @charset "UTF-8"; p { margin-left: 34px; margin-right: 30px; margin-top: 30px; font-family: verdana; font-size: 14px; font-weight: lighter; line-height: 16px; color: #333333; } h1 { margin-left: 161px; margin-top: 2px; font-size: 14px; font-family: verdana; font-weight: lighter; color: #333333; } h2 { margin-left: 30px; margin-top: 0px; font-family: verdana; font-size: 12px; color: #993300; font-weight: lighter } h3 { margin-left: 0px; margin-top: 6px; font-size: 12px; font-family: verdana; font-weight: lighter; line-height: 25px; color: #333333; } h4 { margin-left: 167px; margin-top: 0px; font-family: verdana; font-size: 12px; font-weight: lighter; color: #333333; } h5 { margin-left: 135px; margin-right: 30px; margin-top: 0px; font-size: 14px; font-family: verdana; font-weight: lighter; line-height: 16px; color: #333333; } h6 { margin-left: 34px; margin-right: 30px; margin-top: 0px; margin-bottom: 0px; font-family: verdana; font-size: 14px; font-weight: lighter; line-height: 16px; color: #333333; } .style2 { font-family: verdana; font-size: 12px; } .style3 { font-family: verdana; font-size: 14px; font-weight: bold; text-decoration: underline; } .style4 { font-family: verdana; font-size: 14px; font-weight: bold; } .style6 { font-family: verdana; font-size: 14px; font-weight: normal; text-decoration: underline; } |