Do pages that are marked with the blue dot always get uploaded?

0 votes
asked May 17, 2016 in RapidWeaver by q2aadmin (2,975 points)

If I open a partial every page that uses the partial gets marked with the blue dot (needs to be published) -- do all these pages get published and uploaded again even though I didn't make any changes?

1 Answer

0 votes
answered May 17, 2016 by q2aadmin (2,975 points)
selected May 17, 2016 by q2aadmin
Best answer

When the blue dot is marked on the side of a page in the source list (the lefthand sidebar), it does NOT indicate that it will upload all the content of the page. It just means that some action happened on that page and RapidWeaver should check to see if anything needs to be uploaded again. If you haven't made any changes then RapidWeaver do nothing.

Stacks marks pages as changed aggressively, knowing that the RapidWeaver publishing cache is very conservative about what it will actually publish.

Although it's not very easy to tell because most other page styles are quite simple compared to Stacks, all the page styles within RapidWeaver tend to work in this way.

And you can test that this is the case. There are a lot of steps here, but it's a simple procedure.

  1. Create an empty test document.
  2. Add a Stacks page
  3. Add an image to that Stacks page by dropping it in.
  4. Select the image and make it into a partial (click the Partial button).
  5. Export the site to a local folder (this is called Local Publish if you're using RW7).

    At this point you should have a very simple site with just your image on the homepage. You can go to the export folder and find that image. RapidWeaver puts it into a folder called "files".

  6. In the Finder, move that image from the exported "files" folder to the trash.

  7. Back in RapidWeaver open and then close the partial

    At this point you should see the blue dot again -- even though nothing has changed at all.

  8. Publish the page.

So, now here is the test. Will RapidWeaver re-publish the image that you dragged to the trash?

Go back to the Finder to the "files" folder and look to see if the image was replaced. The expected result is that the image is NOT replaced. This is because RapidWeaver has correctly detected and the image has not changed in your RapidWeaver document and does not need to be published (RapidWeaver has no knowledge of your sneaking tossing it in the trash).