Needs review
Project:
XML sitemap
Version:
6.x-2.x-dev
Component:
xmlsitemap_node.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2010 at 14:40 UTC
Updated:
5 Oct 2010 at 14:41 UTC
I am currently working on a site where it makes sense to not run xmlsitemap_node_create_link() or xmlsitemap_link_save() every time a node is updated. We are saving a lot of nodes and would prefer these changes to be made on cron only for performance reasons (in particular the query in xmlsitemap_node_get_timestamps() is running slowly).
Attached is a simple patch which adds a variable to let the site-owner decide if they would like to update XMLsitemap info on node save.
| Comment | File | Size | Author |
|---|---|---|---|
| xmlsitemap-allow-no-update-nodesave.patch | 1.47 KB | andrewlevine |
Comments
Comment #1
andrewlevine commentedAlso wanted to mention this patch should not change the default functionality of the module at all