Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Removing the cache dir when in production #26

Open
dmregister opened this issue Apr 16, 2014 · 1 comment
Open

Removing the cache dir when in production #26

dmregister opened this issue Apr 16, 2014 · 1 comment
Assignees

Comments

@dmregister
Copy link

I recently started using the module and think it is great.

Although I do have one question. Why is it necessary to have the cache dir when in production mode? For instance, I have the cache url set to our cdn cname and want to remove all assets from the production server, but get an error when the cache dir is not created.

I understand that even in production mode it needs to create cache files when necessary, but if your cacheUrl has a different host it would be nice to skip the check for the local files. I would expect it to just error if it cannot find the file and not create/check if it exists.

I will be happy to implement this feature, just wanted to open this issue in case I am missing something that is already implemented.

Thanks.
-David

@neilime
Copy link
Owner

neilime commented Apr 17, 2014

You request is right, and I will accept your pull request to add this feature

@neilime neilime self-assigned this Aug 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants