WordPress website. The client has requested that the content of the post should open in a pop-up on the same page. To do this, I make an ajax request to the server, which takes some time. I wanted to somehow optimise this process and thought about caching.
Options:
Can anyone suggest solutions to this problem? Maybe there are some better options that I haven't considered?