sixteencolors/Pablo.Gallery

Make all authenticated/authentication actions AJAX calls

Opened this issue · 3 comments

This will allow us to make all the pages cached by a CDN, and have the items that need to be dynamic based on the user not cached.

Is this necessary if we're using Ajax for 90% of the content? E.g. Like the pack page that loads the results without loading the whole page..

This could also be done for viewing files, etc.

Maybe not. :) my plan is to not worry about it and see how things go, basically. But I try to put all my thoughts down as I come up with them, especially so that you can make reasoned comments like this. :)

I was thinking about this in relation to something I am working on and realized that at a minimum we need to make the "Hello lordscarlet!" vs. "Login" or whatever links load via a javascript call, or else every page has to be unique and not cached by a CDN.