Comments (1)
'cache-control': 'no-transform'
is currently the only way to opt-out of apicache-plus compression. I could add compression-specific config options, but considered compression as caching implementation detail, as it won't slow down first response time (as apicache-plus doesn't compress what is sent to client. for that you would need compression
lib or another similar one) but will speed up the next responses (if the client accepts the same encoding).
Out of curiosity, why do you want to disable it?
from apicache-plus.
Related Issues (15)
- Support Koa HOT 2
- _acquireLockWithId is not a function
- Can't use 'head' request method HOT 1
- json.sortify issues HOT 2
- Support for concurrent requests? HOT 2
- Caching happens only on the 2nd request to the endpoint HOT 3
- Decompression failed error with node-redis when serving cached response HOT 4
- clear cache with redis / group? HOT 2
- How to set cache duration by "expires" header HOT 3
- duration work for sum second
- How to replace existing cached data for endpoint?
- Difference between apicache and apicache-plus
- Response content-encoding forces to "br", causing failed response on Chrome/Edge but not Firefox HOT 3
- ChangeRequest - Response header to return apicache: 'hit' or 'miss'
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 apicache-plus.