Login pages that expire
Some web sites (notably some email clients) have log-in pages that expire (after 2 minutes). What is the reason for login pages that expire? ...
Some web sites (notably some email clients) have log-in pages that expire (after 2 minutes). What is the reason for login pages that expire? ...
I am working on an application that needs to handle expiring airline miles. The miles can be used, but if they are not used by a certain date, they will expire. I want to make sure I expire the proper amount of miles but don't expire them if they have been used. Therefore, I have to check if enough miles have been used in a given date...
I'm using valid expires and no-cache headers for my static files and they stay cached for as long as I keep browsing, but when I close my browser and use it back after a while I see the static files loading again, even when not refreshing with ctrl (+ shift) + r I'm using Firefox, cache size set to 250MB and I don't let it remove any pr...
The background story: I work for a company that develops and manufactures a commercial product which can have up to 100+ dedicated PC's in a farm. We only get a handful of new customers per year. We developed an iPod/iPhone app that lets us send commands to the farm and pull data. Our parent company has major concerns about putting th...
I've been getting a validation of viewstate error for a long time on my site that I have yet to be able to reproduce. Based on the user-agents and IP addresses, it seems to mostly be coming from spammers. I've put in multiple fixes (including disabling event and request validation, and moving viewstate hidden fields to top of form) think...
I'm having a problem where items served by my Squid server are being cached by Limelight for too long, sometimes days. It happens when a piece of content has been static for a long time (weeks) and then undergoes numerous changes in a matter of hours. Limelight gets its content from our Squid server and I'm told that if I can add 'Expi...
Hello, I have ASP.NET MVC 1.0 application (.NET 3.5) running on II7 in 'Integrated Pipeline' mode. To cache/expire content, OutputCacheAttribute can be used to cache the action method's output. OutputCacheAttribute will send same output next time the action method is requested AND set response headers. Please tell, how do I expire cont...
Add expires headers in iis is very Easy,but this cache all the static files. now i want only add expires headers to images,how can i do that? even i want cached specific file? ...
My page needs to know when the cache a included javascript file will expire, to retrieve it again. ...
I'm currently playing around with a build / deployment script for minifying static resources. Following good practice I'd like to set an expire header far into the future for most of my javascript, stylesheet and images. To my question, when one or more of the static files has changed clients should ask for the newest version of the fi...
I am using CakePHP with Apache2. Analyzing my pages with the tool PageSpeed from Google, I find two main problems. The first is that I should enable gzipping of content, the second that I should leverage browser caching for images, javascript and css files. I have more or less found how to remedy this, but it involves changing my main ....
Hi, I used the YSlow Firefox add-on and it return the follow result: Grade F on Add Expires headers There are 8 static components without a far-future expiration date. * (no expires) http://localhost:63808/WebSite/css/Global.css?... * (no expires) http://localhost:63808/WebSite/css/BemVindo.css?... * (no expires) http://localhost:6380...
I have an old version of a JS file cached on users' browsers, with expiration set to 10 years (since then, I have learned how to set expires headers correctly on my web server). I have made updates to the JS file, and I want my users to benefit from them. Is there any way my web server can force users' browsers to clear the cache for t...
I'm implementing a custom web server of a kind. And am looking into adding an Expires header support. However, I'm a little unsure of how exactly to implement it. If multiple cold-cache requests are being made to the same unchanged resource on the server and the server returned different Expires header (say it uses relative time to calc...
All of the expires headers articles I've looked at give more or less the following solution: ExpiresByType image/gif A2592000 ExpiresByType image/png A2592000 ExpiresByType image/jpg A2592000 ExpiresByType image/jpeg A2592000 But it doesn't make sense to me because I know which of my images are going to change and which aren't, so I w...
I have a PHP script masquerading as JS in order to dynamically include and pack various JS files to serve as one. I'm having trouble getting it to cache: the headers don't seem to want to set. $expires = 60*60*24*14; header("Pragma: public"); header("Cache-Control: maxage=".$expires); header('Expires: ' . gmdate('D, d M Y H:i:s', time(...
One of my friend is working on issue related to updating expired digital certificates. He is working on Java application(Swings I guess), which has 4000 clients. All those need a digital certificate to connect to the application and this certificate expires every year. At the end of year he needs to update the certificate credentials fo...
I am a web developer, have worked with PHP and .NET both. having over a year of experience working on web I haven't been able to understand the browser caching features thoroughly, I hope Web Gurus here can help me with it. Questions I have in my mind are : How does browser actually caches stuff, does it request for to see if the cache...
I want to give different expiry headers to different images on my site. they are contained in different folders right now, what I want to do is give then different expires headers with one main .htaccess file. I know this can be done with multiple .htaccess files in those folders but I dont want it to be implemented that way, It will cle...
Default syntax for Header set Expires is Header set Expires "Wed, 21 May 2010 20:00:00 GMT" and default syntax for ExpiresDefault is ExpiresDefault A2592000 OR ExpiresByType image/gif A60 I want to use such a syntax for Header set Expires, that is I want to pass an expires time in seconds after access. how can i do this ? ...