• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 8320
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 13 Feb 2020 06:26PM UTC
Jobs 1
Files 86
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8320

push

travis-ci

buger
Extending advanced caching to support all of the methods, adding CacheOnlyResponseCodes per method and the ability to use headers as part of the cache key (#2753 #2763) (#2754)

Example of a use-case:
We want to cache put/post methods that receive 401 or 403.
Next time the same request is received we will return the response from the cache unless they change the authorization or tenant headers.

This PR contains:
- Cache support for all of the methods, it can be set from the endpoint designer
- Each cache endpoint can have its own list of ResponseCodes that will override the main API cache list for this endpoint
- Added a list of headers per endpoint that will be inserted (with header values) into the cache key
- Some refactoring to reuse some methods
- Tests

More info can be found in the feature requests #2753 and #2763

Closes #2753
Closes #2763

10773 of 17803 relevant lines covered (60.51%)

147.74 hits per line

Jobs
ID Job ID Ran Files Coverage
2 8320.2 (LATEST_GO=true) 13 Feb 2020 06:26PM UTC 0
60.51
Travis Job 8320.2
Source Files on build 8320
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8320
  • b9973ca0 on github
  • Prev Build on release-2.9 (#8314)
  • Next Build on release-2.9 (#8321)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc