[Vuejs]-How to get axios to use server-side caching?

0๐Ÿ‘

โœ…

If you look at the default caching profile you can see that it ignores ajax requests.

Copy this file, move it to your own code, remove:

if ($request->ajax()) {
   return false;
}

Then update the config/response_cache.php file and point the cache_profile entry to your file.

Leave a comment