Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have ability to set_config for cache folder and cache file name #478

Open
tereaksmey123 opened this issue Nov 19, 2016 · 0 comments

Comments

@tereaksmey123
Copy link

I mean will in the next Version / Patch can add Set_cache option ? for rename Cache Folder into something like Public, etc and True/False to Encrypt Cache file name ? this will be useful for develop website in PHP Framework when in ENVIROMENT Dev / Prod.

Example :

if(ENVIRONMENT == 'production')
{
       replace this look like 
       echo link_tag('assets/my_lib/css/stylesheet/scss_cache/3c47a77b13479ae1af0dc793e5a0ae30.css');

       into this
       echo link_tag('assets/my_lib/css/stylesheet/public/my_style.css');
}
else
{
       echo link_tag('assets/my_lib/css/scss.php/my_style.scss');
}

No need to

  • overload server and play with .htaccess

  • copy the finally update to css

Benefit

just loadding file cache instead in Prod mode it done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants