If you are based in the United States... You can route both ways via JFK or LAX.... SAL-JFK-TPE is $2,392 versus $4930 for JFK-TPE...
There is a 12 hour overnight layover on the return that makes it easy to oversleep the last segment... 😏
The flight ex-SAL leaves 3:10 PM so lot's of opportunities for in-bound flights... See some fun options of things to do in less than 4 hours in San Salvador!
What to do in San Salvador?
If you decide to use this ticket and have a long connection in San Salvador, the Joya de Cerén archaeological site which is sometimes called the Pompeii of the Americas is a short taxi ride from the airport. 4 hour tours from the airport can be arranged for under 100 USD depending on your level of Spanish. Joya de Ceren was named a UNESCO World Heritage Site in 1993.
EVA Air Boeing 777 Business Class
Avianca Airbus 320 Business Class