HTML - Cashing The External Resources Like Javascript And Css Files Of An Html Document
Hi all,
We have a few questions regarding the cashing of an HTML document Scenario : We have an HTML/jsp page with now cache response headers, and this needs a number of JavaScript files and CSS files to achieve the functionality. The following are our questions 1. With no-chache response headers in the base document, whether the included external javascript or css files will be cased in browser? 2. Is there any difference between firefox and IE in this regard? 3. If we decide to gizip the response for improving performance, will it make any difference in browser caching? 4. Is it possible direct the browser not to cache the base document, but cache the the heavy external files which are included? Looking forward for some quick suggestions. Thanks and regards, SAN Similar TutorialsHi I'm kinda new to all this. I can see this being the first question to a lot of questions and hope you guys can help. Firstly... Can I put a code in my ebay items so that the whole advert document (eg. item1.html) Can be externally loaded in. This way I can change the look of all my adverts by replacing the html files on my server and without having to touch ebay at all. Kind regards John Hello everyone, I am working on a website for a webcomic at the moment and I need the following thing: I will have about 50 HTML pages, each with a different comic page on it. What I need is a drop down form list at the bottom of each page that would show all the other pages and when you would click on one of them, it would take you to said page. But the problem is that as time will go by, more pages will be added, and changing the code of the form on each 50 pages whenever a new one is added seems greatly contraproductive. Is there a way I can code this list separately and insert it somehow in every one of those 50 pages? This way all I would have to do would be editing the separate code and it will update on all the pages. I am quite new to building websites, so please excuse my noobness. Thank you. I am wondering if there is a way to make a link on one page load a page into the frame or iframe on another page. For example I have pages A.html, B.html and C.html. B has an iframe in it, and I want to load C into that iframe, using a link on page A. Does anyone know if that is possible with html? Thanks, Marcus Could anyone please tell me the code to call an external html file? I need to refresh my memories! i have been asked to create a website for a friend i have the design up and running but i want to make it easy for him to edit the text is there a way of linking to an external file with the text required for the page that he can edit without the risk of damaging the template to give you an idea i need the text on the book pages on http://www.sabbathkeepers.000a.biz Hello everybody, I'm new here. I'm redesigning my own website and came up with some tricky situation. I write HTML lessons and I want to put just the pure code in my posts, but they appear as a regular html document... How do I make the code to be shown just as text (code), like we do in the forum boards (code tags or whatever)? I have to send someone a family tree chart converted from a no-text-wrap RTF file to an HTML file so they can upload it to the internet. I have converted files from RTF to HTML easily enough with PolyEdit in the past, but this file has a very large width. When I convert it, the resulting HTML file doesn't keep the no-text-wrap setting and everything is a mess. Is there a way around this? I'm new to this forum, a complete newbie, but I was wondering how I can tell my html page to open another html page and read what is in the new page for that specific section. For example: I have google ads on the right side of my website, where I would put the ad, is there a way to link it to another html script without actually putting it in my html page? Kinda like a CSS sheet but the other way around. I don't want to have to go through every page to change the ad code, I just want to change an external sheet where the ad code is. I also want to do this for the body of my website where the content is. Can I link a external sheet that would input content into the body of the website? is it possible to link html code from a seperate external html file. example, the footer and header is always the same and the content changes. can i create a header.html and a footer.html and have my content pages link to the header.html and footer.html. so if i ever need to update the header or footer, i have to do it once. I tried to look on the net but don't know what key words to look under. thanks., Worked Out I have a document I've created in HTML and I'm attempting to be able to have people fill it out and save the results. The document contains radio buttons, check boxes, and text fields that need to be filled out. Now I need a way to have the results saved and sent to me. For some reason I thought if they saved the page after compleating it and e-mailed it to me it would save their results, but it just sends the orriginal page. Any suggestions. First post here. Hope someone can help. I need to embed a table into hundreds of websites. the data in the table changes frequently. I want to be able to alter the table in one place and it changes it on every website. What I've done, and it works well in Firefox, is create a separate html file with the table which resides on the server. Then I use this code in the host website <object data=http://www.web-source.net type="text/html" width="600" height="400"> <embed src=http://www.web-source.net width="600" height="400"> </embed> Error: Embedded data could not be displayed. </object> It will not register in IE though. Works fine in Firefox. Any ideas as to how to solve this or a better easier way to do this?? Thanks in advance. Rich Hello everyone. I'm a bit new to these to please bear with me for a second. I hope I am asking this question in the right place. I have a client that want's me to create some emailable stationary that they can in turn send to all their clients. I'm working on a MAC Leopard using Safari and Firefox. The cool thing about Safari is that you can take any webpage and turn it into emailable stationary by going File>email contents of webpage. It will copy images, formatting CSS and I think embedded Java Scripts. So I thought Great. I'll create a simple webpage, turn it into stationary... 30 minutes and I should be done. 3 days later I'm still working on this project and I'm stuck. The issue it the. I have created a webpage. It's very simple you can view it here if you want http://www.drewwfilms.com/Temp/Conte...ate/test3.html The problem is this. I can't get text to stay. If I type text into the Textarea and do something like... create new webpage (to create a new webpage from the current address) the text will not copy into the new document. Does that make sense? So the text getting entered into the textarea where is that in my html code? I've viewed the source code and cannot find it. Is it being entered into cache or something? I do not know enough about this (obviously) and am really looking for some help. Anyone that could give a helping hand I'd really appreciate it. Thanks -D How can I insert a movie into a HTML document? Anyone helps? Thanks in advance. Hi people, I just built a web site with a design made in photoshop, so when I saved it as gift and html everything fine, but when I made the code over the <head> for Xhtml all my images and stuff were distorted. Thanks for your help Regards Paul Weinstock Hi I use an include to display an exteral html file in a div. If I strip the html file of all the header formatting, it displays fine. As soon as I add the header info, transitional info etc, it adds a couple of blank line breaks to the top of the text dsiplayed in the external div. here's the link:www.mcbub.com How do I make it so the text starts at the top? thanks in advance! Hi guys I have a pic in my templates folder with the html document in the the same folder. So what i want to do is add the picture to the HTML document so that it appears on the browser. surely this code should work but at the moment it is not? <img src=/"templates"/"dog.jpg"> HELP What would I need to add to a form in HTML to have it saved to an Excel Document when it is submitted? I want each <input type="text"/> to be put on the same line, then the next person to fill out the form goes on the next line. This is what I have so far, and I have no idea how to get it to link with an Excel Document. <html> <head> <title>Please Sign In</title> </head> <body> <h2>Please Sign In</h2> <form> Name: <input type="text" name="name" value="" size="20"/><br/> Date: <input type="text" name="date" value="" size="20"/><br/> <input type="radio" name="inout" id="in"/> In <br/> <input type="radio" name="inout" id="out"/> Out <br/> <input type="submit" value="Submit" size="20"/> </form> </body> </html> For the radio buttons, would it be possible to have an In column and an Out column in the excel sheet and whichever is selected would put an X in that column? Thanks in advance for any help. ok so to start off if I ask any dumb questions my apologizes. I have just started writing HTML code. I have done quite a bit of C++ but its been years and html is much different. Well here is my question I have made a dynamic sidebar for my webpages so I can cut out all those blocky link buttons at the top of the page. So I created an external html file and wrote the code for the side bar, but I can't figure out how to get it into my webpage html files. I am sure its something minor but I can't seem to figure it out. I have been able to get it on the page by using iframe but I really don't like iframe. One of the really big things is I want it locked to the right side of the browser screen so if you scroll it stays there. Also it needs to float above everything else so it will open on top of the webpage and no disrupt the content. I am sorry if this is a simple thing but I have spent 2 days reading everything I can on it and can't get it to work. I have tried it as a PHP file with include command. I tried link didn't work also. I know I could just include all the code on the pages but I am trying to learn how to use template correctly so as to make my pages as clean and SE friendly as possible. Last thing if I need to post some of the code up here to help I can do that. Well thanks in advance, this will make my day if I get this dang side bar to work. Thanks J Hi I use an include to display an exteral html file in a div. If I strip the html file of all the header formatting, it displays fine. As soon as I add the header info, transitional info etc, it adds a couple of blank line breaks to the top of the text dsiplayed in the external div. How do I make it so the text starts at the top? Cheers Shaun |