The two terms are very confusing. :/

Comments

AgaPe’s picture

Yes, anybody could explain what do they do?
I see rebuilding clears the xmlsitemap database table and regenerates files.
How is it done? Are the files completly removed/emptied and then filled with data from the database? Or just updated with changes in database?

Regenerating - this creates/fills the files from scratch? Not changing anything in the database, right?

Anonymous’s picture

Regenerate - verb transitive
To form, construct, or create anew, especially in an improved state.

Rebuild - verb transitive
to restore (a system or situation) to a previous condition

Both definitions are very similar and the other definitions of Regenerate and Rebuild didn't fit the situation here. Maybe instead of regenerate we use recreate and for rebuild we use reconstruct. And we allow recreate to mean emptying the DB and start anew and allow reconstruct to mean restore the xml files from the existing database. Anyway you look at it, the words are very similar in meaning.

recreate - to create anew; reproduce
reconstruct - To construct again

Anonymous’s picture