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"?
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"?
You almost had it right, it is called "parse=true" :-)
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.
Good point.
Will look into it.
Thanks for the input, BR Nicolai
tfs12276
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
Yes, great idea. So a subfolder _parsed i.e.?
Will look into this.
BR Nicolai
Yes, that would work well. I like the idea of the underscore prefix to mark it as a "system" folder.
Cheers,
Imar
Yes, great idea. So a subfolder _parsed i.e.?
Will look into this.
BR Nicolai
+1
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 :-(
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