Developer forum

Forum » Feature requests » "parseall=true" querystring parameter

"parseall=true" querystring parameter

Lars Larsen
Reply

Hi,

It would be so nice if it was possible to parse all templates in one design in one page request. Couldn't you just add another querystring parameter like "parseall=true"?


Replies

 
Nicolai Høeg Pedersen
Reply

You almost had it right, it is called "parse=true" :-)

 
Morten Bengtson
Reply

Hi Nicolai,

 

Parse=true only seems to apply to the current layout template. Is there a way to force all templates to be parsed again on next request?

 

I usually delete all the .parsed.html files manually to make sure that everything is rendered correct after templates have been moved from development to production.

 

You already have something similar for clearing the page cache, Purge=All, which clears the cache for all pages and not just the current page.

 

 
Nicolai Høeg Pedersen
Reply

Good point.

 

Will look into it.

 

Thanks for the input, BR Nicolai

 
Nicolai Høeg Pedersen
Reply

tfs12276

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

While we're at it, would it make sense to store the .parsed files in a separate folder? That makes it easier to delete them and keep them out of source control systems....

 

Imar

 

 
Nicolai Høeg Pedersen
Reply

Yes, great idea. So a subfolder _parsed i.e.?

 

Will look into this.

 

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Yes, that would work well. I like the idea of the underscore prefix to mark it as a "system" folder.

 

Cheers,

 

Imar

 

 
Anders Ebdrup
Reply

 

Original message by Nicolai Høeg Pedersen posted on 05/06/2013, 10:51:

Yes, great idea. So a subfolder _parsed i.e.?

 

Will look into this.

 

BR Nicolai

 

+1

 
Dmitrij Jazel
Reply

Hello guys,

I am trying to find the best way to Parse all pages, I have updated the website, and there are allot of things to parse. But even after I restored solution from the ground, Solution still is remembering the old URL to the includes I used.

Any suggestions? please help :-(

 

 

 
Nicolai Høeg Pedersen
Reply

You are not making much sense...

 

parseall=true reparses all layout files. Only on newer solutions. If it does not, simply delete the .parsed. files manually.

Since 8.3 parsed files are found a sub folder.

 

What URL are you refering to? When using Includes in templates? Or the pages url?

 

Nicolai