[Phpmyadmin-devel] js caching and the ?ts parameter
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...
Size: 198 bytes
Desc: not available
More information about the Developers