Questions tagged [content-expiration]
27 questions
62
votes
8 answers
Is Chrome ignoring Cache-Control: max-age?
Background:
IIS 7
AspNet 3.5 web app
Chrome dev tools lists 98 requests for the home page of the web app (aspx + js + css + images). In following requests, status code is 200 for css/images files. No cache info, browser asks server each time if…

Francois
- 10,730
- 7
- 47
- 80
7
votes
4 answers
What's an appropriate HTTP status code to return by a REST API service for an expired entity?
Let's say we have an online shop and receive a valid request of updating some order.
The request is valid by itself, but let's say that the order has an expiration time, and it has already expired, so this request is unprocessable in fact.
I doubt…

Andremoniy
- 34,031
- 20
- 135
- 241
4
votes
4 answers
How to set TTL for a specific Couchbase document using spring-data-couchbase?
How to set TTL (Time to Live) for a specific couchbase document using spring-data-couchbase?
I know there is way to set expiry time using Document notation as follows
@Document(expiry =…

Mizanur Rahman
- 111
- 2
- 7
4
votes
1 answer
Google Chrome does not honor cache-policy in page header if the page is displayed in a FRAME
No matter what I do:
Google Chrome…

Tim
- 5,371
- 3
- 32
- 41
3
votes
4 answers
Why is my asp.net caching throwing an exception?
I have a bunch of simple lookup tables cached in my asp.net application since the source data is on a seperate server from our main web architecture and it changes infrequently. I've been following answers here and various documentation and I have…

Dillie-O
- 29,277
- 14
- 101
- 140
3
votes
2 answers
Content Expiration - IIS 6
If I set the content expiration for static files to something like 14 days and I decide to update some files later on, will IIS know to serve the updated files or will the client have to wait until the expiration date?
Or is it the other way around…
JohnDoe
3
votes
2 answers
How do I set the cachability of static files in IIS?
I have some static images in a folder on my IIS 6-based website that I want to be downloaded as little as possible (to preserve bandwidth). I've set the Content Expiration to expire after 30 days. Is there anything else I can do in IIS to try to…

TAG
- 1,232
- 1
- 10
- 12
2
votes
3 answers
ArangoDB Cursor Timeout
Using ArangoDB 2.3.1. It seems my cursors are expiring within a couple minutes. I would like them to last for an hour. I've set up my AQL query object with the TTL parameter as follows:
{
"query": 'removed actual query',
"count": true,
…

skinneejoe
- 3,921
- 5
- 30
- 45
2
votes
0 answers
Need Marco help to identify sender by domain, then perform custom actions
Certain forums send me email each day. I would like to cull these mails by:
Setting an expiration date (tomorrow/ 24 hours) based on the sender's email domain if the domain criteria is met
Categorizing these emails when identified (Category name…

Elizabeth Garozzo
- 21
- 2
1
vote
1 answer
How do I set an expiration date on a file I create in the Azure Data lake using the Python SDK?
I'm using Python 3.8 and Azure data lake Gen 2. I want to set an expiration time for a file I save on the data lake. Following this -- azure.datalake.store.core.AzureDLFileSystem class | Microsoft Docs, I tried the below
file_client =…

Dave
- 15,639
- 133
- 442
- 830
1
vote
1 answer
Cloudfront Won't Set Expiration Header from S3 Origin
I am using an S3 bucket to store a bunch of product images for a large web site. These images are being served through Cloudfront with the S3 bucket as the origin. I have noticed that Cloudfront does not put an expiration header on the image even…

Tim M
- 89
- 11
1
vote
1 answer
cxApi.cxApi.getChosenVariation() only returns cxApi.NO_CHOSEN_VARIATION
I do the following - (XXXXX represent my experiment Id ) as described here - https://developers.google.com/analytics/devguides/collection/gajs/experiments#cxjs-load