Questions tagged [fallback]

A fallback is a design pattern useful in situations, when certain advanced functionality may be used only if certain conditions are met. If the conditions cannot be fulfilled, algorithm reverts to the so-called fallback function, which achieves the goal using less sophisticated methods.

508 questions
-1
votes
1 answer

Polly FallbackPolicy with Refit and HttpClientFactory

I use the HttpClientFactory together with Refit to make API calls. I want to use Polly for Retry, Circuit Breaker and Fallback, and while it's easy to set up Retry and Circuit Breaker, I struggle with Fallback, as it can only return a fallback value…
Bjoern
  • 433
  • 3
  • 16
-1
votes
2 answers

IceCast Server Fall back file

How do I set up a fall-back file for an IceCast server?
Phill Fernandes
  • 57
  • 3
  • 11
-1
votes
1 answer

how to handle the wrongly capture input from user in dialogflow?

I have created a chatbot using dialogflow using four intents and I am passing contexts form one intent to another intents . welcome intent GetName intent GetEmail intent GetDOB intent I wanted to know how to call fallback intent if user entered…
-1
votes
2 answers

Is it really necessary to include all of the fallbacks for flex derived properties?

I normally declare my flex properties in a simple manner: .flex-item { display: flex;. justify-content: space-between; flex-direction: row; flex-wrap: nowrap; } All of the fallbacks for this are: .flex-item { display:…
Daniel Moss
  • 447
  • 1
  • 5
  • 17
-1
votes
1 answer

How to have a second VPS as fallback of another VPS?

This weekend I had an issue with my VPS, which totally broke! But still got sites of my clients in that VPS, right now it's being restored but it made me think of how can I avoid the downtime by having a second VPS as fallback. Still I know know the…
andres.gtz
  • 624
  • 12
  • 22
-1
votes
2 answers

Are font classes defined by client os or client browser?

I have noticed that at Google Fonts they never use fantasy as fallback class in font-family. For all script and typical fantasy fonts, they use cursive. I wonder if this is a hint that chrome does not support fantasy as fallback class? For that to…
Stephen Miller
  • 503
  • 3
  • 11
-1
votes
1 answer

Fallback for flex-basis transition in IE and older browsers

I'm currently working on a project that uses a flex-basis transition on hover. It's smooth in Chrome and FF but not in IE or Safari. Is there a good fallback for this? maybe some js? CSS .color { opacity:0; -o-transition: flex-basis 500ms,…
Aaron
  • 29
  • 8
-1
votes
2 answers

How do I make a HTML fallback via Angular?

What is the best way to make a HTML fallback via Angular? I need something like this: {{angularText}} plain text The plain text would be a "backup" (perhaps generated by the server), in case the user doesn't have JavaScript enabled. Of…
-1
votes
1 answer

jQuery fallback for background-size

I am looking into background-size for a couple of reasons, but mainly because by using it I can use sprites and I can make those images responsive. The problem, of course, is older browsers such as IE8 and lower. I wish I could use a polyfill but…
Bram Vanroy
  • 27,032
  • 24
  • 137
  • 239
-1
votes
3 answers

How to add a PX fallback to Zurb Foundation 4 REM function?

I am using this SCSS function from Zurb Foundation 4 framework: @function remCalc($pxWidth) { @return $pxWidth / $em-base * 1rem; } it returns a REM value only, so it does not work with IE8. Is it possible to add a PX fallback to support IE8? I…
-3
votes
1 answer

How to fallback to normal if Javascript is disabled?

If the user clicks a link, I want to call a Javascript function if JS is enabled, or go to a URL if it's disabled. How to solve this? I've tried but it doesn't seem to work.
Andreas
  • 7,470
  • 10
  • 51
  • 73
-4
votes
1 answer

Discussion: Why use new CSS features if you have to write fallbacks anyway?

I had a conversation with my CTO regaring using CSS Grid, and the question that I heard the most was “Why use grid, that’s not supported in old browsers if we have to write flexbox fallbacks anyway? Why don’t we just build with flexbox?” And it got…
max
  • 366
  • 3
  • 9
-4
votes
1 answer

Fallback Javascript with PHP from CDN to Local Storage on Unavailable

I need some help. I would like to create a fallback for my source code. I am using a cdn to host my javascript and css and images. What I am trying to do is create a fallback in php that will say for instance is ip 123.456.789 is not available in…
Jai Jai
  • 25
  • 5
1 2 3
33
34