Rationalization sometimes makes our life easier
Letting $x\mapsto \frac{\pi}{2}-x$ transforms the integral to $\displaystyle I=\frac{\pi}{4} \int_0^{\frac{\pi}{2}} \frac{1}{\sec x+\csc x} d x=\frac{\pi}{4} \int_0^{\frac{\pi}{2}} \frac{\sin x \cos x}{\sin x+\cos x} d x\tag*{}\\ $
‘Rationalize’ the integrand gives
$\displaystyle \begin{aligned} \int_0^{\frac{\pi}{2}} \frac{\sin x \cos x}{\sin x+\cos x} d x = & \int_0^{\frac{\pi}{2}} \frac{\sin x \cos x(\sin x-\cos x)}{\sin ^2 x-\cos ^2 x} d x \\= & \int_0^{\frac{\pi}{2}} \frac{\sin ^2 x}{2 \sin ^2 x-1} d(\sin x)+\int_0^{\frac{\pi}{2}} \frac{\cos ^2 x}{2 \cos ^2 x-1} d(\cos x)\end{aligned}\tag*{} $
Putting $y=\sin x$ in the first integral and then $y=\cos x$ in the second yields the same definite integrals as:
$\displaystyle \begin{aligned}\int_0^{\frac{\pi}{2}} \frac{\sin x \cos x}{\sin x+\cos x} d x & =2 \int_0^1 \frac{y^2}{2 y^2-1} d y \\& =\int_0^1\left(1+\frac{1}{2 y^2-1}\right) d y \\& =\left[y+\frac{1}{2 \sqrt{2}} \ln \left|\frac{\sqrt{2 y}-1}{\sqrt{2 y}+1}\right|\right]_0^1 \\& =1+\frac{1}{\sqrt{2}} \ln (\sqrt{2}-1)\end{aligned}\tag*{} $ Now we can conclude that $\displaystyle \boxed{I=\frac{\pi}{4 \sqrt{2}}[\sqrt{2}+\ln (\sqrt{2}-1)]}\tag*{} $
Is there any other simpler method?
Your comments and alternative methods are highly appreciated.
I'm not sure it's any shorter, but applying the tangent half-angle substitution $$x = 2 \arctan t, \qquad dx = \frac{2 \,dt}{t^2 + 1}$$ is arguably more straightforward. That substitution transforms the integral $\int_0^{\frac{\pi}{2}} \frac{dx}{\sec x + \csc x}$ to $$4 \int_0^1 \frac{t^3 - t}{(t^2 + 1)^2 (t^2 - 2 t - 1)}\,dt .$$ Decomposing the integrand using the method of partial fractions gives $$\int_0^1\left[-\frac{1}{t^2 + 1} + 2\frac{t + 1}{(t^2 + 1)^2} + \frac{1}{t^2 - 2 t - 1}\right] dt = 1 - \frac{1}{\sqrt{2}} \operatorname{artanh} \frac{1}{\sqrt{2}} ,$$ hence $$\int_0^{\frac{\pi}{2}} \frac{x \,dx}{\sec x + \csc x} = \frac{\pi}{4} \left(1 - \frac{1}{\sqrt{2}} \operatorname{artanh} \frac{1}{\sqrt{2}}\right) .$$