Discussion:
[Freemarker-devel] .now function return same time even after refreshing the page
rajesh
2015-09-04 05:21:21 UTC
Permalink
I am using *.now* function to get current time . But i am facing one issue
while using this built-in that i am getting same time whenever i am
refreshing the page . But i attached some query parameter with different
value then only the time get changed otherwise it won't . Can anyone please
provide help for this issue ?



--
View this message in context: http://freemarker.624813.n4.nabble.com/now-function-return-same-time-even-after-refreshing-the-page-tp4655567.html
Sent from the freemarker-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Daniel Dekany
2015-09-04 21:46:03 UTC
Permalink
Seems something (not FreeMarker) caches those pages, or parts of the
pages. If you change a query parameter, you cause a cache miss, hence
the page gets regenerated. But this is not done be FreeMarker, but
something outside it.
Post by rajesh
I am using *.now* function to get current time . But i am facing one issue
while using this built-in that i am getting same time whenever i am
refreshing the page . But i attached some query parameter with different
value then only the time get changed otherwise it won't . Can anyone please
provide help for this issue ?
--
http://freemarker.624813.n4.nabble.com/now-function-return-same-time-even-after-refreshing-the-page-tp4655567.html
Sent from the freemarker-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
FreeMarker-devel mailing list
https://lists.sourceforge.net/lists/listinfo/freemarker-devel
--
Thanks,
Daniel Dekany


------------------------------------------------------------------------------
rajesh
2015-09-07 04:13:20 UTC
Permalink
Thanks for your reply . I have posted this because i am newbie to freemarker
. Ok i will check other page properties which cache the page so that same
time is returned whenever the page is refreshed. Once again i am thanking
you to reply for my post.



--
View this message in context: http://freemarker.624813.n4.nabble.com/now-function-return-same-time-even-after-refreshing-the-page-tp4655567p4655575.html
Sent from the freemarker-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Loading...