Cache-Control and AJAX
Wednesday, February 6th, 2008
Here’s some free advice: don’t forget the cache-control tags on any server-side AJAX page. I was doing some Geodesic Solutions customization today. Anyone who has dealt with Geo will tell you it’s the biggest pain to customize, and that anyone who mentions Geo and best-practices in the same breath must be joking. Basically, the only way to customize it is through a series of patches, or by reworking the Geo class files (which will be overwritten in any upgrade). Geo doesn’t allow any mysql calls within the templates (I suppose it’s a good security measure), and since I didn’t need to do too much database work, I decided to do all the database stuff with AJAX. ... (more...)
