Questions tagged [expires-header]

a HTTP Response Entity Header Field that specifies the date and time after which a response should be considered stale

The Expires HTTP Response Entity Header Field specifies the date and time after which a response should be considered stale. The Expires value must be a date in HTTP-date format.

Example

Expires: Sun, 06 Nov 1994 08:49:37 GMT

Resources

Related Tages

116 questions
0
votes
0 answers

Does ExpiresByType text/css rule affect all .css files on the site?

Does the following rule affect all .css files on the site or just in root or in some folder? ExpiresByType text/css "access plus 1 month"
Robin Cox
  • 1,470
  • 2
  • 16
  • 31
0
votes
0 answers

How to set the Expires date/time header in ASP.NET MVC controller?

I have a portal that pulls data from a data source which is updated every day at 1am. So I want to set the expiration on the ajax calls that request the data from my asp.net mvc controller to expire at 2 am. How do I set a specific date/time for…
richard
  • 12,263
  • 23
  • 95
  • 151
0
votes
1 answer

In Grails, disable name hashing but keep expires header for hashandchange resources plugin?

I am using grails resources plugin. On client I am using require.js to fetch js. my require.js config - baseUrl: '/js/lib', With resources plugin enabled - browser would make request for /js/lib/abc.js wasting ~300ms On reaching server it will…
Yash Agarwal
  • 955
  • 1
  • 13
  • 28
0
votes
1 answer

Browser plugin to show if web page is loaded from browser cache or web server

I need a chrome or Firefox add on (or other method) to determine when the content I am viewing is loaded from Local browser cache or from the web server. Preferably breaking down each item as an image may be cached while other content on the same…
GL2014
  • 6,016
  • 4
  • 15
  • 22
0
votes
1 answer

Cloudfront/S3 Caching Issue

We have moved our static web content to Amazon's CloudFront, backed by S3. We've successfully applied the caching-related meta data to the objects, and when viewing the response headers for the following object, the Cache-Control and Expires headers…
Unpossible
  • 10,607
  • 22
  • 75
  • 113
0
votes
1 answer

HTTP header expires Implementation in Wordpress

I am implementing HTTP Header expires implementation in Wordpress - say browser side caching for reducing the number of hits to server as well as decrease the loading time by loading css/images/js files from browser and not the server. Following is…
0
votes
1 answer

How to set a dynamic Expires header in Jetty?

Jetty allows headers to be set using the jetty-rewrite functionality, but it doesn't appear to be very smart, and only accepts a fixed string. How do I tell Jetty to send an "expires in 8 hours" header? With Apache .htaccess and mod_expires you can…
Peter Boughton
  • 110,170
  • 32
  • 120
  • 176
0
votes
1 answer

Expires in 1 month header on all files except .php files

To speed up my website I have read about the Expires header, how to implement it in Apache, and how to only do so for certain file types. However I want to set a one month expiry on all files except .php files (webpages). So how do I do this with…
user1318194
0
votes
1 answer

Do browse served a cached file if its name or contents change?

Two general questions I'm wondering about both in the case for a given file(.js, .css, etc.) where you've set an expires header and also when you have not: Do browsers request a new file (NOT serving the cached one) only if the file name has…
tim peterson
  • 23,653
  • 59
  • 177
  • 299
-1
votes
1 answer

does dynamic html expires tag fail?

I use the A.S.P DateAdd function to make the webpage cache control expires in 5 days after the current date: "> I am afraid if a user come back every 3 days where , is he…
Ali Sheikhpour
  • 10,475
  • 5
  • 41
  • 82
-1
votes
1 answer

How to configure Expires Filter in Tomcat 7

I'm using grails 2.0.0. I want to add expires header for static files in tomcat. As per the tomcat docs i added the foll filter mapping in web.xml ExpiresFilter
Manisha
  • 775
  • 6
  • 13
  • 30
1 2 3 4 5 6 7
8