WordPress custom header parameter combine with cache

Question

I want to add the post ID to headers parameters for wordpress. Regularlly, when no cache, it’s working fine.

enter image description here

But when cached is enabled. It’s hidden.

The idea basically put the header(“ID: ” & $post_ID) to the content template. And get this post id from my mobile application.

How can I ignore cache for the “ID”. Thank so much!

0
JohnTang 3 weeks 2023-01-06T03:48:58-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse