-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194 from quantcdn/feature/queue-unique-info
Added warning and info for queue factory.
- Loading branch information
Showing
3 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
# Quant cache tag purger | ||
|
||
Adds a cache tag plugin which listen to invalidation events to queue Quant repopulation. This allows node_saves to update the main page but also trigger updates for pages that might be affected by the content update (eg. views pages). These will be added to the queue for the next core cron run to publish the updates. | ||
Adds a cache tag plugin which listens to Drupal invalidation events in order to | ||
queue Quant updates for related content. | ||
|
||
For example, this allows node edits to trigger the main (`/node`) page to update | ||
along with any other pages associated with the node through cache tags (e.g. | ||
views pages, taxonomy term pages, etc). | ||
|
||
This also works with other entities. For example, if a term is associated with | ||
several nodes, those nodes will be queued for updates when the term is edited. | ||
|
||
To ensure that queued content is processed in a timely manner, you can set up a | ||
Quant cron process that is separate from the core cron which just processes the | ||
Quant queue. This Quant cron can be run more regularly than the core cron. | ||
|
||
See [Quant Purger documentation](https://docs.quantcdn.io/docs/integrations/drupal/purger) | ||
for additional information. | ||
|
||
## Requirements | ||
|
||
- quant | ||
- purge | ||
|
||
## Recommendations | ||
|
||
For the best performance, it is highly recommended that your settings include: | ||
|
||
``` | ||
$settings['queue_service_quant_seed_worker'] = 'quant.queue_factory'; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters