[Phpmyadmin-devel] js caching and the ?ts parameter

Michal Čihař michal at cihar.com
Mon Mar 29 13:50:22 CEST 2010


Dne Sat, 27 Mar 2010 15:55:58 -0400
Marc Delisle <marc at infomarc.info> napsal(a):

> in libraries/header_scripts.inc.php all the loading of .js adds the
> timestamp of the file as a parameter. This produces in my Apache log
> file a 304 request for each file. It's true that the .js file itself is
> not transmitted but couln't we avoid those requests?
> Maybe it's intended for developers who don't want to remember clearing
> their browser cache, more than for users?

Well it's also for users on phpMyAdmin upgrade. The other option would
be to rename file on each incompatible change (in similar way how
jquery scripts include version string).

	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100329/33992165/attachment.sig>

More information about the Developers mailing list