[Vuejs]-Axios ajax call returns sometimes html

0👍

I had the same issue and found the solution. Rails is caching the the page as to reduce the amount of requests on navigating back.

To disable this behavior, see this post

Leave a comment