Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-1051

Improve sitemap.xml generation

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0, 4.1.0.E
    • Component/s: None
    • Labels:
      None

      Description

      For sites with large catalogs it is impractical to generate sitemap.xml on the fly. sitemap.xml has to be generated in two stages:

      1. generate sitemap.xml using a job and place it in a secure location
        1. for community version - fs.config.default.sysfilevault (i.e. SYSTEM_SYSFILE_VAULT) + "/sitemaps/" + sitemap-"SHOP_CODE".xml
        2. for ice - fs.config.default.mediavault.secure (i.e. shop specific secure directory of media vault) + "/sitemaps/" + sitemap-"SHOP_CODE".xml
      2. rendering of the sitemap.xml will be by serving the pre-generated file

      In case the file was not generated an empty sitemap.xml file will be generated with comment stating that sitemap has not been yet generated and instructing to run sitemap job.

      For YCE users storing the file in mediavault also gives opportunity to download and manually amend the files if there a need to do so

        Attachments

          Activity

            People

            • Assignee:
              InspireSoftware InspireSoftware
              Reporter:
              InspireSoftware InspireSoftware
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: