expires-header Questions

8

Solved

I've looked around but haven't been able to figure out if I should use both an ETag and an Expires Header or one or the other. What I'm trying to do is make sure that my flash files (and other ima...
Melcher asked 1/2, 2009 at 1:12

1

What is differencies between Expires and Max-Age in Cookie struct ? I cannot understand. type Cookie struct { Name string Value string Path string // optional Domain string // optional Expire...
Linn asked 14/1, 2022 at 19:56

5

Solved

Add Expires headers There are 21 static components without a far-future expiration date. http://static.doers.lk/examples-offline.css http://static.doers.lk/kendo.common.min.css http://static.do...
Culverin asked 20/12, 2012 at 12:51

6

We have around 10,000+ images in a bucket in Amazon S3, how can I set the expires header on all of the images in one go?
Jamie asked 6/2, 2014 at 14:22

2

I'm trying to optimise a WordPress site of mine - Type & Music based on reports I've been getting from GTmetrix. One of the things I'm being advised to do is add expires headers and leverage br...
Consignment asked 6/2, 2014 at 13:24

1

I'm not fully understanding how .NET MVC's HTTP caching works because it doesn't seem like it's actually retrieving cached resource files. I'm thinking I need to add some additional code somewhere....
Number asked 27/2, 2014 at 17:0

1

Solved

I'm on a site running on HTTP/2 and I realized the following caching setup: cache-control:max-age=604800, private etag:W/"115-54e8a25e7b187" expires:Fri, 14 Jul 2017 11:39:45 GMT last-mod...
Lemnos asked 12/7, 2017 at 11:59

2

I have a PDF on Windows Server IIS web server, where users request it with IE8/9/10 using HTTP call like this... http: // mydomain.com / somefolder / myFile.pdf First hit will download the file ...
Rateable asked 5/8, 2014 at 18:21

1

Solved

i can see stackoverflow add's both Expires and Cache-Control for their images , css, js etc, so i am trying to do the same, i tried this article web.config <location path="Content"> <sy...
Buckling asked 13/3, 2016 at 11:10

2

Solved

We all know adding a far-future expiration date to static resources is a good practice to increase our websites' page load speed. So we've ensured it for all of our resources BUT the all-too-common...
Sharpshooter asked 23/9, 2014 at 5:11

1

Solved

I have a problem with expires headers on javascript files which are generated by PHP.. The website has two types of javascript files. One part is static javascript files and one part is dynamicall...
Tress asked 19/11, 2015 at 20:26

1

I am running an application with Play and Java, and I need to set up expiration date for various types of assets: images, css, javascript etc. I have the following in the conf/routes file: GET /a...

3

Solved

I'm running a Rails 3.1.1 application on Heroku Cedar. By default this stack doesn't Gzip and set Expires Headers on assets. There is some doc about that, but it's not very clear : http://devcenter...
Presumptive asked 17/10, 2011 at 10:49

2

Solved

I am using the below code in my .htaccess file to try and set the expire headers for some fonts, but upon checking my firefox cache and the expire header, the font is set to expire in about 12 hour...
Delamare asked 17/11, 2012 at 10:6

3

My PHP code: $expires_date = date('D, j F Y H:i:s', strtotime('now + 10 years')) . ' GMT'; header("Expires: $expires_date"); header('Content-type: text/javascript'); echo 'hello world'; When I...
Polyphemus asked 17/10, 2012 at 13:35

4

Solved

My CRON Job returned an error that CRON job did not work. In that this was there: Set-Cookie: PHPSESSID=2t2drultihqci4em15nbfmeb63; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-...
Kite asked 19/11, 2011 at 13:52
1

© 2022 - 2024 — McMap. All rights reserved.