-
Notifications
You must be signed in to change notification settings - Fork 10
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
USAGOV-1773-clear-menu-link: #1923
base: dev
Are you sure you want to change the base?
Conversation
906a3d5
to
5f436d7
Compare
…ink cache. Needed when running a Tome export to build page navigation correctly when more than one path is exported by a process.
5f436d7
to
5fa0b27
Compare
scripts/tome-static.sh
Outdated
@@ -30,7 +30,7 @@ echo "Starting Static Site Generation : "$(date) | |||
mkdir -p /var/www/html | |||
# time drush -vvv tome:static --uri=$URI --process-count=1 --path-count=1 | |||
# time drush tome:static -y --uri=$URI --process-count=5 --path-count=1 | |||
time drush tome:static -y --uri=$URI --process-count=$TOME_PROCESS_COUNT --path-count=1 | |||
time drush tome:static -y --uri=$URI --process-count=$TOME_PROCESS_COUNT --path-count=10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's drop this back down to 1.
I've identified what I think is another Tome bug; many details are on the Jira ticket.
class RequestPrepareSubscriber implements EventSubscriberInterface { | ||
|
||
public function __construct( | ||
private MenuActiveTrailInterface $menu_active_trail, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this what you want to inherit from?
…out why higher path count saves redirects as the original page instead of a meta refresh.
Jira Task
https://cm-jira.usa.gov/browse/USAGOV-1937
Description
Adds an event subscriber to clear menu link cache.
Needed when running a Tome export to build page navigation correctly when more than one path is exported by a process.
Type of Changes
Testing Instructions
Change Requirements
Validation Steps
html/
Security Review
Reviewer Reminders
Post PR Approval Instructions
Follow these steps as soon as you merge the new changes.
Review in Test
and add a comment. State whether the change is already visible on cms-dev.usa.gov and beta-dev.usa.gov, or if the deployment is still in process.