Closed (fixed)
Project:
Ajax Blocks
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2010 at 08:36 UTC
Updated:
28 Oct 2010 at 06:40 UTC
Hi
We were facing some problems with the browser caching. Blocks that we wanted to be made up every time user is refreshing the page, were cached in a browser so we had e.x. old comments list after making a new comment.
We've found a solution for that - adding a timestamp to all the server requests made by module, which makes the URL's unique and browser is always requesting a fresh data.
If it's a good solution maybe it's worth being comited.
Peace
Comments
Comment #1
warobushek commentedWhich browser are you using? I tried in IE, Opera, FF, Chrome. It works fine.
Comment #2
maximpodorov commentedDoes adding the following two lines to the very beginning of ajaxblocks_ajax_handler() function help?
The modified function will look like this:
Comment #3
maximpodorov commentedComment #4
maximpodorov commented