Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Require all simplecacheable views to have a filename extension #8381
The lack of an extension on views like js/elgg and css/elgg seems like the main reason we cannot have PHP-less routing of simplecached views. There is no way to have a filesystem that looks like so:
Note that this transition could be made in a 1.x plugin already, so authors wouldn't have to make this switch and upgrade to elgg 2.0 at the same time.
Can anyone think of a more automatic way to make this happen?
Yes, you have the right idea of what I'm going for.
Yes, served by httpd directly.
Varnish is a great point, and maybe that's a good enough reason to close this ticket.
If we do decide that, then there is no reason to block movement of all static assets including images to the views system.
I believe i recall @Srokap having concerns about this.