Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally load headers and footers asynchronously #18

Merged
merged 8 commits into from Sep 6, 2018
Merged

Conversation

jamesmontalvo3
Copy link
Contributor

@jamesmontalvo3 jamesmontalvo3 commented Sep 6, 2018

Rather than generate and load headers/footers during page generation, optionally load the page first, then request them asynchronously.

Adds two config variables:

  • $egHeaderFooterEnableAsyncHeader
  • $egHeaderFooterEnableAsyncFooter

Adds ApiGetHeaderFooter.php which provides the API action getheaderfooter, e.g. api.php?action=getheaderfooter&contexttitle=Main_Page&messageid=Hf-nsfooter-

@jamesmontalvo3 jamesmontalvo3 merged commit 314dc59 into master Sep 6, 2018
@jamesmontalvo3 jamesmontalvo3 deleted the dynamic branch September 6, 2018 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant