Automattic / Automattic/jetpack
Caching Infinite Scroll ajax requests
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Would it be possible to make it configurable if you want to use GET instead of POST for Infinite Scroll AJAX requests ? This would make it possible for high traffic sites that use Varnish to cache these requests. I am aware that it was changed from GET to POST in 2014 because of issues with long request URLs. The default could still be POST though.
Contributor guide
Research direction
Start by locating the Infinite Scroll AJAX request handling and inspect how the current POST method is selected. Define the configuration boundary and verify that GET can be enabled while POST remains the default and the resulting requests can be cached by Varnish.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100