Edit PHP’s realpath-cache-size, and realpath-cache-ttl for Drupal
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reviewing the Dockerfile for the image that inherits from drupal:7 and the PHP configuration entry point at /usr/local/etc/php/conf.d/. Compare the proposed realpath-cache-size and realpath-cache-ttl values with Drupal's linked documentation. Done means the recommended settings are included in the official image if that decision is approved.
Written by the indexing model from the issue text.
Description
Drupal.org's official documentation recommends overriding PHP's default realpath-cache-size and realpath-cache-ttl to "noticeably decrease Drupal's initial page generation times."
https://www.drupal.org/docs/7/managing-site-performance/tuning-phpini-for-drupal
I am currently adding the following lines to my Dockerfile that inherits from drupal:7 to accomplish this:
# Set recommended realpath_cache settings.
# See https://www.drupal.org/docs/7/managing-site-performance/tuning-phpini-for-drupal
RUN { \
echo 'realpath_cache_size=4096K'; \
echo 'realpath_cache_ttl=3600'; \
} > /usr/local/etc/php/conf.d/realpath_cache-recommended.ini
Would it be worth including these in the official Docker Hub images? If so, I would be happy to provide a pull request.
- Dominant language
- Shell
- Stars
- 291
- Forks
- 199
- Avg merge
- 5h 12m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker-library/drupal
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
docker-library/drupal#270 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
docker-library/drupal#264 · 14 comments · 4 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker-library/drupal#263 · 23 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
docker-library/drupal#246 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
docker-library/drupal#230 · 3 comments ·
All issues in docker-library/drupal
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100