pcb icon indicating copy to clipboard operation
pcb copied to clipboard

Different responseStrategy per regex

Open JordyMoos opened this issue 8 years ago • 3 comments

Is it possible to have different response strategies per regex? Like i want my assets to be cache-first. But for calls to the api needs to be up to date so for them i would like network-first.

JordyMoos avatar Jul 04 '17 17:07 JordyMoos

No, not yet. You can implement API caching manually outside of the plugin and use cache-first in the plugin for assets.

NekR avatar Jul 04 '17 21:07 NekR

No, not yet. You can implement API caching manually outside of the plugin and use cache-first in the plugin for assets.

@NekR how do you achieve this?

nealoke avatar Dec 11 '18 11:12 nealoke

@nealoke given how old this issue is, I think it would be better if you first read through the docs, and then opened a new, more specified, issue regarding your actual problem if you haven't found a solution by then.

GGAlanSmithee avatar Jan 29 '19 08:01 GGAlanSmithee