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

TykTechnologies / tyk / 8320 / 2
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 13 Feb 2020 06:26PM UTC
Files 86
Run time 15s
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

13 Feb 2020 06:15PM UTC coverage: 60.512% (+0.1%) from 60.395%
LATEST_GO=true

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

Source Files on job 8320.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 41
  • Source Changed 2
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7164
  • Travis Job 8320.2
  • b9973ca0 on github
  • Prev Job for LATEST_GO=true on release-2.9 (#8314.2)
  • Next Job for LATEST_GO=true on release-2.9 (#8321.2)
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