Comments (4)
Can you explain what that would change?
from specref.
Sending both Expires
and Cache-Control: max-age
shouldn't be necessary unless you intend to target old HTTP/1.0 clients. You can drop the former.
My understanding is that if you have an ETag then you can use expiration dates farther in the future, because the client will use If-Match
to which you can respond with a 304, whereas after the expiration time it will make an unconditional request (disclaimer: I'm no expert on this, it's just my understanding). Obviously this is only useful if you handle the conditions.
from specref.
Oh, so we hit the server everytime no matter what?
from specref.
You're probably not going to hit the server every time. But sometimes you are. The behaviour on reload for instance (and spec dev is all about the reloads) is browser-dependent. You're going to get If-Match
requests after the cache expiration time too; it's not a bad idea to honour them if it's cheap enough for you.
from specref.
Related Issues (20)
- Validating linked URLs HOT 2
- Fix CI pipeline HOT 2
- Define TypeScript schema for responses HOT 6
- BCP 47 alias HOT 5
- Make [WEBSOCKETS] point to WHATWG spec, not dead W3C spec HOT 2
- the schema for `pages` should allow colon (`:`) HOT 1
- W3C Process doc missing from W3C data HOT 3
- Unable to reference new mediaqueries-3 REC HOT 5
- OpenID Connect refs HOT 1
- [IAccessible2] resolved to an unknown page HOT 5
- Man(ual) pages HOT 1
- Where was manifest-incubations pulled from? HOT 2
- wg21 diff thrashing
- Consider Upgrading Node.js Version HOT 1
- Specref might be stuck? HOT 4
- Querying both dependencies and dependents HOT 5
- Browserspec script is removing entries HOT 6
- Portable Network Graphics (PNG) still refers to old version (2003) HOT 1
- Referencing authors in Specref HOT 9
- Iso output missing ISO/IEC 18013-5:2021 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from specref.