Skip to content

Black Deer Dev

Black Deer Dev
  • Home
  • About
  • Blog
  • Longform
  • Portfolio

Ajax

Browser Displays Ajax Response On Back Button with Vue

November 9, 2020 by Johnnyparky
Browser Displays Ajax Response On Back Button with Vue

The Problem Do you see a json ajax response instead of the page you were expecting when hitting the back button? This can happen if you use the the same routes for your html and ajax like so. The problem is that the browser (depending on the browser) decides to cache data that is passed … Read more

Categories Blog, Uncategorized Tags Ajax, Browser, Vue Leave a comment

Cancel Axios Ajax Request Subsequent Request

June 19, 2020 by Johnnyparky

If a user make two request in succession and you want to cancel the first, here’s how to do it in Axios. Works like a charm. Provided by NicksonYap, some iteration of iterations. https://github.com/axios/axios/issues/1361#issuecomment-417880626

Categories Blog Tags Ajax, Axios Leave a comment

Categories

  • Blog
  • Longform
  • Portfolio
  • Review
  • Uncategorized

About

About me

Categories

  • Blog
  • Longform
  • Portfolio
  • Review
  • Uncategorized

Tags

Active Record AI Ajax Animation Bash Browser Claude Code Composer Docker Eloquent Error Git GraphQL Heroku Home Lab Ionic Javascript Keyboard Laravel Local LLM Mac Memory Migration MySql Network Nginx Npm osx pear pecl PHP Postgres Query Builder Rails Redis Relationships Ruby S3 Scraper SQL Undergrowth Upload Validation Vue zsa
© 2026 Black Deer Dev • Built with GeneratePress