I contacted WP Rocket they said it isn’t WP Rocket
I followed their instructions tested etc. Still have problem (is your plugin compatible with OpCache?)
That URL appears to be for an AJAX request, which WP Rocket doesn’t actually cache.
And even if it’s not actually an AJAX request, the presence of a question mark makes it a query string URL, and those aren’t cached by WP Rocket either — unless you specifically tell it to do so.
Thirdly, WP Rocket doesn’t cache the default WordPress login page either. ??
So with these “three strikes out on WP Rocket’s caching”, I don’t think that needing this file to be excluded is actually related to whatever problem you’re having with this Math Quiz plugin.
But for the ultimate confirmation, you should test to see what happens when you deactivate WP Rocket temporarily — if the problem doesn’t resolve even then, that means WP Rocket is not causing it to occur in the first place.