CiUI is caching everything, causing issues

3 views
Skip to first unread message

MorningZ

unread,
Jun 7, 2008, 7:50:34 PM6/7/08
to CiUI
Maybe I am just not understanding how this framework is handling page
requests...

I have a page that has

<div id="iphone_body" style="clear:both;">
<ul id="Menu" class="menu">
<li><a class="go_forward" title="General" href="/
forum_list_1.aspx">General</a></li>
<li><a class="go_forward" title="Generation Specific" href="/
forum_list_2.aspx">Generation Specific</a></li>
<li><a class="go_forward" title="Technical / Help" href="/
forum_list_3.aspx">Technical / Help</a></li>
<li><a class="go_forward" title="Member Services" href="/
forum_list_5.aspx">Member Services</a></li></ul>
</div>


If i click any if the 4 links (say for instance, the page
"forum_list_1.aspx"), the page slides forward and shows what i need

*but*

If i click the CiUI generated "back" button, and then choose a
different item ("forum_list_3.aspx"), I get the results of the first
request ("forum_list_1.aspx"), not the new request (for "3")

Any ideas what I am missing out on here?


Vladimir Olexa

unread,
Jun 7, 2008, 8:55:23 PM6/7/08
to CiUI
the framework doesn't cache anything at the moment. if there is any
caching going on it's probably on your server or in your browser. the
back button simply invokes history.back() so nothing special going on
there either.

i would make sure the contents of the files are in fact different and/
or that you're not caching anything locally on your side.

did you check out the demo? it shows you how the whole thing works:

http://clientside.cnet.com/ciui/demo

MorningZ

unread,
Jun 8, 2008, 12:42:12 PM6/8/08
to CiUI
Yeah, of course i have checked out the demo...... i like this
framework a lot :-)

Anyways, the caching problem was indeed on my side, i was getting way
too aggressive caching stuff on the server... i found my mistake and
all is well....

thanks for the reply
Reply all
Reply to author
Forward
0 new messages