CSS and Javascript files don't change very often, so I want them to be cached by the web browser. But I also want the web browser to see changes made to ... |
I just ran Pagetest and it says I need to set a max-age for my JS/CSS. How do I do that?
|
It's appears ONLY javascript and css are not caching ... but images are caching.
I am using Firebug and when I refresh the page, I notice in Firebug a lot of 200 ... |
I'm building a status page which should be refreshed periodically.
So, I've had a http-equiv refresh in the <head> section in order to refresh the page every minute :
<meta http-equiv="Refresh" id="refresh" content="60"/>
But, ... |
It looks like IIS httpCompression compresses your files. If this compression is in place, what is the reason to compress files using compression tools like: Packer, JSMin or Yahoo ... |
I am creating some suspended connections to an http server (comet, reverse ajax, etc). It works ok, but I see the browser only allows two suspended connections to a given domain ... |
I'm working on an app that will be using https, but we wanted to be able to use the google search api. They do not have an https version available, so ... |
|
Let's say because of a conditional comment or just being careless the same included file is present for users of some browser or even all browsers. For example:
<!--[if lte IE 8]>
...
|
I understand the basics of HTML page caching.
My uncertainty relates to how caching works on images, included external scripts, and included CSS stylesheets that the HTML page uses.
For example, let's say ... |
I’m working on a project involving Vignette as the CMS. Does anyone know if it serves HTML, CSS and JavaScript content gzipped?
(If anyone’s got an example of a site ... |
Let's say I have a calendar on my page and clicking on a day would mark that day as complete.
But I want to use POST and not GET, since GET is ... |
A web designer has created pages for us with IE-specific comments. Consequently, certain stylesheets are only included if the user is using a specific version of IE:
<!--[if lt IE 7]>
<link type="text/css" ...
|
I have a simple proxy source in C++. I'm trying to modify it to inject some html content into specific pages. I'v managed to get it working but whenever I inject ... |
I have a link and if a user clicks it I need 2 things to happen: A proper HTTP response is sent to the user (especially with Content-Type: video/mp4) and a ... |
This question asks about file name the servers sends and the fix was quite simply a content-disposition header in the http response.
What I interested in is does anyone know of ... |
In an HTML-document, i want to have a (if possible: invisible) form that POSTs the contents of one text input field to my server as soon as the document is created ... |
There seems to be a general conclusion floating around the internet that external js files are better.
The main reasons are caching, maintenance, and debugability.
However there does not seem to be much ... |
often I find myself suprized about simple things, I'm not sure but I believe that this might be one of them.
Often I find myself needing to merge get attributes, especially within ... |
this question might be available online but sorry that I cant find a solution that I understand. Can someone pls help me?
The situation is this, I would like users' browser to ... |
can anybody tell me a way to get all the href attributes(links) in a web site using javascript?if you could give me a code example, i will be most thankful.
|
Is it possible to let an user login to multiple websites from my website using javascript?
|
Does it make any difference where you put script version? Query param or path. Pro, cons?
|
I'm building REST web app and my server side Java code expects request body to have pure JSON string.
My goal is to use regular HTTP POST method (not ajax) and ... |
I came across this recently whilst poking around the markup for Google's 404 page. In it, they use // at the start of their URLs, in anchors in the markup, as ... |
So I have a link on my aspx page that Im trying to trigger a separate html using lightbox. whenever I click the link the lightbox works fine but the html ... |
I am trying to create my own website access library(for fun) like Googles Analysis(Analtiks?) where I can detect when a user access' my website, what pages they view etc.
Is there a ... |
What is a good term to refer to the common set of skills that are involved with web programming? Beyond more highly specialized skills like server side languages, how would you ... |
I am working on a new website and I need to develop something to help user manage technical browsers issues. There are many parameters (8) I need to check and ... |
I have a srcURL variable which gets a path of the form /myFolder/myFile.jpg
Now this gets assigned to the img element..which obviously would call it with the complete path https://mySite.com/myFolder/myFile.jpg
Now ... |
Sites like Facebook use "lazy" loading of js.
When you would have to take in consideration that I have one server, with big traffic.
I'm interested - which one is better?
When I ... |
Common advice is to keep your CSS and JS files external. The reason: What you lose in the additional HTTP request*, you often gain back by not having to download ... |
So basically I have a basic page that is loaded via http.
Inside this application I want to include a remotely hosted JS file. Currently when I load the page I always ... |
Bugzilla, Mozilla's issue tracker, has a nice loading screen while the search is being executed. In the days of Ajax, this is nothing special. They do it without any scripting, though, ... |
How does this work?: http://welbog.homeip.net/
Just scroll down. It looks cool, it looks damn cool, and it works without javascript. What's that?
|
Is there an alternative to referrer object to check where user came from?
history.previous doesn't seem to work.
|
I've found myself writing a number of mockups of websites that make a lot of AJAX calls. I'm really just fiddling with how the sites look and don't have a server ... |
My web site has a dropdown control that allows the user to navigate to sub sections of my site. On the root page I want to retrieve the HTTP_REFERER variable ... |
Hey guys so im kind of lost right now. I am trying to import html files directly from a website. How is the best way about doing this? I need to do this over and over again, at least every 2 seconds. My friend said there was a http/https send command or something? Anyone know? Thanks |
|
|