{"action":"closed","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/8381","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/8381/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/8381/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/8381/events","html_url":"https://github.com/Elgg/Elgg/issues/8381","id":82061575,"number":8381,"title":"Require all simplecacheable views to have a filename extension","user":{"login":"ewinslow","id":356564,"avatar_url":"https://avatars.githubusercontent.com/u/356564?v=3","gravatar_id":"","url":"https://api.github.com/users/ewinslow","html_url":"https://github.com/ewinslow","followers_url":"https://api.github.com/users/ewinslow/followers","following_url":"https://api.github.com/users/ewinslow/following{/other_user}","gists_url":"https://api.github.com/users/ewinslow/gists{/gist_id}","starred_url":"https://api.github.com/users/ewinslow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewinslow/subscriptions","organizations_url":"https://api.github.com/users/ewinslow/orgs","repos_url":"https://api.github.com/users/ewinslow/repos","events_url":"https://api.github.com/users/ewinslow/events{/privacy}","received_events_url":"https://api.github.com/users/ewinslow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Elgg/Elgg/labels/bc%20break","name":"bc break","color":"0052cc"},{"url":"https://api.github.com/repos/Elgg/Elgg/labels/performance","name":"performance","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-28T18:12:26Z","updated_at":"2015-05-28T20:19:12Z","closed_at":"2015-05-28T20:19:12Z","body":"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:\r\n\r\n```\r\ncache/12345678/default/js\r\n  elgg # file\r\n  elgg/ # directory\r\n    dev.js\r\n```\r\n\r\nNote 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.\r\n\r\nCan anyone think of a more automatic way to make this happen?"}}