Hi,While creating component what is the significance of cache time, by the name i can understand that it shud refresh page i.e. hits the server at particular time. But I have following queries:1) Does hitting the server means to give Ajax call to server?2) What if I select Never cache? because I have analyzed that while creating the component If i didn't select this option, My page behaves abnormally like let's say my page is having 5 links and on each click of link the body of page should display the content related to that link. But when I click on another link it never change the content of page on single lick, i have to click two to three times and then it redirects the page to different link.Is it because of cache?3)What if I select Untill Published?Which option should use and when? and what are the pros and cons of selecting this option.Kindly elaborate with examplesThanks in advance.
Thanks for your reply,But I am facing one problem in my project, I want my page to be refreshed only when I republish the page. But let's say if I made some changes in component and update the page with latest component and republish the page my changes are not getting reflected and it takes the same page which was generated on first hit of request. To get rid of this problem we need to first rename the page and then we have to publish the page. In this scenario also we were able to access the page which we have deleted recently that means the page is still there in cache. How can we avoid this? While creating component we have to set the property as No Cache for proper functioning.
There may be some latency in refreshing the cache with the *on-publish*. I believe that is usually about 30 seconds or so. Perhaps LS is not processing the cache files correctly. Look at your production LS Runtime logs and make sure the cache files are being processed correctly for one and for two make sure there are no apparent errors.
What version of Livesite are you running?Are you using the Livesite workflow (PLC) or do you have a custom workflow?There is a livesite.runtime.log that should be located at the same location as the catalina logs.there's a log4j.xml configuration file in the web-inf/classes folder of the runtime. IT should have some canned categories that you can enable to see cache processing.
I am using Livesite 3.0 version. We have custom Workflow to deploy the files from one branch to the same branch but present on Front Office server which is mapped to a separate Tomcat Instance.