<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/06/conditional-retrieval-of-pages-is-not-working-under-dynamic-publishing.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2009://24.15613-</id>
  <updated>2011-09-01T02:24:23Z</updated>
  <title>Comments for Conditional retrieval of pages is not working under dynamic publishing</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2009://24.15613</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/06/conditional-retrieval-of-pages-is-not-working-under-dynamic-publishing.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=15613" title="Conditional retrieval of pages is not working under dynamic publishing" />
    <published>2009-06-19T13:06:12Z</published>
    <updated>2009-07-03T12:47:35Z</updated>
    <title>Conditional retrieval of pages is not working under dynamic publishing</title>
    <summary>Hi All, I have enabled dynamic publishing for my template and I have enabled &quot;Enable Dynamic Cache&quot; and &quot;Enable Conditional Retrieval&quot; settings. When I try to view the page with different query parameters, it will display the same results. http://www.abc.com/dir/filename.php?name=XYZ...</summary>
    <author>
      <name>SunilKT</name>
      
    </author>
    
    <category term="Design, Templates, &amp; Tags" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>Hi All,</p>

<p>I have enabled dynamic publishing for my template and I have enabled "Enable Dynamic Cache" and "Enable Conditional Retrieval" settings.</p>

<p>When I try to view the page with different query parameters, it will display the same results.</p>

<p>http://www.abc.com/dir/filename.php?name=XYZ</p>

<p>http://www.abc.com/dir/filename.php?name=ABC</p>

<p>The below link suggests that we can use Enable Conditional retrieval to the use of conditional HTTP GET headers for pages.<br />
http://www.movabletype.org/documentation/administrator/managing-blogs/settings/publishing-settings.html</p>

<p>If I disable the Enable Dynamic Cache checkbox then the content is displaying correctly based on the query parameter we are passing but the pages loads very slowly.</p>

<p>Is there any other way to cache the pages for the different query parameters we are passing?</p>

<p>Any help is truly appreciated.</p>

<p>Thanks,<br />
Sunil</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.15613-comment:25669</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.15613" type="text/html" href="http://forums.movabletype.org/2009/06/conditional-retrieval-of-pages-is-not-working-under-dynamic-publishing.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/06/conditional-retrieval-of-pages-is-not-working-under-dynamic-publishing.html#c25669" />
    <title>Comment from Chad Everett on 2009-06-25</title>
    <author>
        <name>Chad Everett</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hi Sunil -</p>

<p>The dynamic cache needs to be enabled for your template modules, and really has nothing (directly) to do with dynamic publishing.  Only if you are including a template module that has caching turned on in that case, the contents of a cached module won't change, no matter what you pass in the URL.</p>

<p>Meanwhile, the conditional retrieval flag is - at best - poorly documented.  But what is happening to you here is that dynamic publishing will cache your contents, and those contents, at least at one point, were cached based on the URL requested, and that URL does not include the query string.</p>

<p>A long time ago, I modified mt.php to include this content in the cache, and I might be able to dig it up - or at least figure out where it was in the code - if you can let me know if you are still having problems.  Please let me know!</p>]]>
    </content>
    <published>2009-06-25T20:38:50Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.15613-comment:25999</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.15613" type="text/html" href="http://forums.movabletype.org/2009/06/conditional-retrieval-of-pages-is-not-working-under-dynamic-publishing.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/06/conditional-retrieval-of-pages-is-not-working-under-dynamic-publishing.html#c25999" />
    <title>Comment from SunilKT on 2009-07-03</title>
    <author>
        <name>SunilKT</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hi Chad Everett,</p>

<p>Thanks for the reply.<br />
I still have the problem...If you could send me the changes, It will be a great help for me.</p>

<p>Thanks,<br />
Sunil</p>]]>
    </content>
    <published>2009-07-03T12:47:35Z</published>
  </entry>

</feed>

