Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Create a static HTML page from a CFM page

Explorer ,
Feb 23, 2008 Feb 23, 2008
How do I take the results of a dynamic CFM page and write it to a static HTML page.
752
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 23, 2008 Feb 23, 2008
cffile
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 23, 2008 Feb 23, 2008
Use cfhttp with the file and path attributes

http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p58.htm
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 27, 2008 Feb 27, 2008
LATEST
You can also use the CF administrator.
Schedule the task. (Or just create the task to be hit by a call from a page.) When you set up the "task" Click Publish Save output to a file
and assign the path you want it to write to. I do this for high volume front pages and have them created every few minutes to reduce the load on the sql and cf servers..
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources