Age | Commit message (Collapse) | Author | Files | Lines |
|
Otherwise it is really confusing when you make template changes during
development and they don't show up immediately.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We should be well-protected by the "Vary: Cookie" header, and if we aren't
then we need to fix those pages that matter. This is the final step in
getting at least the heaviest hit part of our site to be served without any
Vary headers at all- the feeds.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is also another step in making sure we don't unnecessarily access the
Django session object and thus add a Vary cache control header we don't
want.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This was having some serious effects on caching as we would always have to
access the user in the session, marking every page with a "Vary: Cookie"
header. This is the start of stamping that out. The way we get the user for
news item creation is now more similar to that from the todo lists, but not
quite. That should be adjusted to be more like the news item creation.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is to address a rather large issue with caching of feed objects in
Django. Because they are built up using an XML library that does multiple
writes on a file-like object, a single feed object, even when pulled from
memcached, generates 1582 writes to the open socket rather than the optimal
one it could do.
Some version of this fix will be making it upstream, but I need to figure
out how to approach that before I do so and for now this will address one of
our larger performance issues on the live site since the packages feed is
hit as often as it is.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Thanks to Evangelos Foutras for the inspiration. Recreated from scratch only
to make sure everything is in sync.
From this point on, you will need to have the 'south' Django/Python package
installed to use archweb.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
No need to slap 'archweb' in all of these in the settings file.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Ismael Carnales <icarnales@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We aren't going to enable this because it is a restricted-access site, so no
need in keeping the crud around.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
|
|
|
|
- Fix for reporead when description is empty.
- Fix for settings.py. Middleware wasn't found (changed import name)
- Clarity change for dashboard.
|
|
|
|
|
|
Not entire dev site requires login.
|
|
|
|
|
|
moved cache controls to local_settings
|
|
|
|
|
|
|
|
Also added vim command comment to the end of files.
|
|
|
|
It helps with both serving static files during a testing scenario, to easing
deployment.
|
|
|
|
|
|
|
|
Special Note
Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
|