can I pre-render index.php on server side and make sure my site serves it instead of index.php

I want to improve my performance but keeping dynamic capabilities.

  • 1
    I don't think WP templates work how you think they do, the page determines the template, not the other way around. But, what you're talking about is called partial caching. You can use transients to store portions of a page, but to pre-render an entire page would require full page caching. – Tom J Nowell Feb 27 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.