added published logic
added cache and file forwarding to htaccess
update