Questions tagged [expires]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
19 views

What happens when you release an expired domain?

I've got a domain on a registrar, which is in its grace period. I'd like to move it to a new registrar, so I think releasing it will be the best option. I had the impression releasing a domain name ...
0
votes
1answer
39 views

How to manually add expire header for google fonts css files? [duplicate]

i am trying to boost my website, but when i look it on gmetrix it says following statement There are 6 static components without a far-future expiration date. https://fonts.googleapis.com/css?...
1
vote
0answers
22 views

rel=“dns-prefetch” / rel=“preconnect” vs far-future expiry headers…?

I've always been a big fan of far-futures expiry headers. First time visit on my site's homepage results in 40 HTTP requests, but a subsequent visit comes in at 1, with a response as snappy as you'd ...
3
votes
3answers
7k views

How do I add the an expires header for external URL components as suggested by GTmetrix and YSlow?

I am trying to decrease the loading time of my website which is hosted in Bluehost. So when I check the performance scores via GTmetrix under YSlow section it mention to "Add expire headers" for four ...
1
vote
3answers
60 views

Buying a domain name - How can I ensure that it hasn't expired or been 301 redirected before?

I'm thinking about buying a domain name from a seller. The Verisign Whois information shows that it was registered in 2011. Are there any instances in which a domain could drop/expire and yet the ...
2
votes
5answers
350 views

Why is this site still down when the domain was renewed almost a week ago?

The domain of interest was renewed a week ago, but the site is still down. Shouldn't the site be back up by now? (It's not my domain, it's a domain I wanted to buy but failed to get, and I'm asking ...
3
votes
1answer
4k views

Logged Out Too Soon; PHP Sessions Expire Too Quickly. Is this a Linux, CentOS, Cookies, CPanel problem?

Recently, I've been getting logged out sooner than expected on several websites that I manage on Linux servers. The problem started spontaneously a few months ago. At the time, I had not made any ...
4
votes
1answer
758 views

How to specify expiry to a (css/js) files of a website in a shared hosting?

I have read the other answers but all are based on editing the .htaccess file. Is there any way to set expiry without touching the .htaccess file?
2
votes
1answer
94 views

how to set Meta “expires” if I am not sure of expiration date?

I have an ad website. Users can post ads, and they can also renew them (renewing their expiration date). I setup delete rate on user items at 3 month after expiration date, but if users have renewed ...
2
votes
1answer
422 views

http header if not modified help

I am having a little trouble with sorting out my HTTP headers for my sites. I am currently setting up Varnish on my server and so trying to get everything working correctly. All my sites are ...
1
vote
1answer
75 views

How do I adjust my HTTP caching for optimum page delivery performance?

I read an article about caching at http://vadmyst.blogspot.ca/2005/09/server-side-etag-vs-cache-control-max.html and currently I'm using both cache-control, expires, and Etag type validation on my ...
2
votes
1answer
40 views

Purchasing an expiring .co.uk domain

There is a .co.uk TLD that is currently expiring (it’s currently 45 days through its 90/92 day expiration period). I would like to purchase this domain when it comes on the open market. I’ve looked ...
1
vote
2answers
3k views

How do I Add Expires headers for CSS file with ?ver=4.1

I'm optimizing my website with Gtmetrix and in Add Expires headers section it shows the below error- There are 49 static components without a far-future expiration date. css/front.css?ver=4.1 ...
9
votes
3answers
1k views

How should an expired content be handled?

Let's imagine this simplified case: An auction website has "auction detail" pages. A few weeks after the auction is over, the "auction detail" page is no more available. We are simply serving a HTTP/...
6
votes
2answers
199 views

Defunct website taken over by spammer. How to stop them?

A friend of mine used to publish a small literary fiction magazine, both in print and on the web. In 2011 she announced that she was quitting, put a note on the website, and carefully unwound the ...
4
votes
1answer
127 views

Getting expired domain name - most effective route?

There is a domain name I have been wanting for years that was used as a parked page (read: cybersquatted) that has entered into WHOIS's redemptionPeriod stage. The domain has been expired for 61 ...
1
vote
1answer
22k views

How do I expire by type in .htaccess for remote loaded Google fonts? [duplicate]

Is it possible to set expire by type for remote fonts or Google analytics? I'm getting this report from GTMetrix and everything I've tried isn't working. Suggestions? There are 4 static components ...
2
votes
1answer
3k views

Can I set Cache-Control in the .htaccess file for a specific part of a document (just a section of the <body>)

I noticed, by using Google Page Speed Insights, that if I structure my HTML to load the critical, above-the-fold content first, my page will improve performance - and it woks (with now current perf. ...
10
votes
2answers
1k views

Why is “29030400” seconds used as a common value for cache expiration?

I noticed that 29030400 is used very often in the Expires directives for static files. Google recommends to cache this kind of files up to 1 year (1 month at least). I did the math: 29030400 seconds ...
2
votes
1answer
837 views

Can a past Expires header value cause a site to not be indexed by Google?

I'm using this: <filesMatch "\.(html|htm|js|css)$"> FileETag None <ifModule mod_headers.c> Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-...
0
votes
1answer
103 views

Workaround for Chrome not handling backward date change in Windows

I'm heavily making use of cookies for a website. Their expiry period is set to 1 day. My preferred test browser is Chrome 28, Windows 7. For a test, I need to change the date of my OS back to eg the ...
1
vote
1answer
622 views

Apache returns 304, I want it to ignore anything from client and send the page

I am using Apache HTTPD 2.2 on Windows. mod_expires is commented out. Most other stuff are not changed from the defaults. gzip is on. I made some changes to my .js files. My client gets one 304 ...
1
vote
5answers
4k views

Is no cache meta tag bad for performance?

I see many websites, seemingly arbitrarily adding the no cache meta tag on every page. Like this: <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-...
6
votes
2answers
4k views

What is the default behavior of Cache-Control

If no private nor public were defined in the cache-control, e.g. Cache-Control: max-age=31461276 What is the expected behavior?
0
votes
1answer
236 views

Is a good technique to buy abandoned domains to get link juice? [duplicate]

Possible Duplicate: Could I buy a domain name to increase traffic to my site like this? Yesterday I was discussing with a friend an idea he had. To promote your site about, for example, fashion (...
1
vote
1answer
184 views

Setting Cache-Control and Expires headers for the end client only

I am trying to add explicit caching to 301 redirects. However, I am worried that a permanent redirect for one user might not be permanent for another user. So I'd like to use Cache-Control: no-cache ...
5
votes
3answers
4k views

expires headers and forcing cache-loading instead of 304?

So here is a little mystery. Google Analytics javascript somehow always loads from browser cache on F5 (in Firefox). I can not get the same thing to happen with my own scripts. Here are the headers ...
7
votes
1answer
6k views

Can I set a variable “Expires” in Amazon S3?

I have a ton of files in Amazon S3 (served via Cloudfront) for which I have added an Expires header of Mon, Jan 1 2024 11:11:11 GMT However, I have recently learned that setting an Expires header ...