SwooshyCueb / strimmer

Collaborative playlisting for an internet radio station
Other
2 stars 0 forks source link

Figure out a way to force cache reloading upon updates to scripts/system/etc. #121

Open TheBlackParrot opened 9 years ago

TheBlackParrot commented 9 years ago

Caching "broke" the SoundCloud dialog, as it was posting to an older variable and ignoring the updated dialog HTML on the server. We need to see if there's a way to force cache reloading so we and everyone else doesn't have to deal with this ever again.
(Upon changing SoundCloud's mpdi_url POST variable to sc_url, the fixed dialog was not working until caching was turned off.)

TheBlackParrot commented 9 years ago

http://stackoverflow.com/questions/8347595/htaccess-how-to-force-the-clients-browser-to-clear-the-cache

TheBlackParrot commented 9 years ago

Might be a better solution, just disable caching on all AJAX requests: http://stackoverflow.com/questions/168963/stop-jquery-load-response-from-being-cached

unsure if this also applies to $.get and $(".element").load("url"), though