ajax - 304 Not Modified -


i've written drupal block , ajax call refresh it(block content) whenever block loaded.(it's because have enabled cache).

but problem whenever go cached page, i'm getting response - "304 not modified". because of i'm not getting correct content want.

i found solution such pass number - new date().gettime() - although page cached, since next request having number, i'm getting correct values. seems quite "ugly". :)

is there way task?

thanks....

use cacheexclude module exclude url cache.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -