Skip to content

Bugfix and caching for external files#2

Merged
brendo merged 4 commits intosymphonycms:integrationfrom
michael-e:cache-external
Jun 16, 2011
Merged

Bugfix and caching for external files#2
brendo merged 4 commits intosymphonycms:integrationfrom
michael-e:cache-external

Conversation

@michael-e
Copy link
Copy Markdown
Member

This pull request has two parts:

  • The first commit is a bugfix.
  • The second and third commit are intended to make JIT apply caching for external files as well. Please review this. I have not seen any side effects up to now. Do you think this might introduce new issues?

michael-e added 3 commits June 3, 2011 18:41
This functionality will use the "master" setting at the moment, but we might introduce a URL mode for this later. Caching relies on the Last-Modified header field of an HTTP response.
@michael-e
Copy link
Copy Markdown
Member Author

BTW: If we decide to implement this, I could add an explanation to the README...

@michael-e
Copy link
Copy Markdown
Member Author

Bump. Any thoughts about this pull request?

@brendo
Copy link
Copy Markdown
Member

brendo commented Jun 16, 2011

I don't think caching for external files should be enabled by default, couldn't this allow anyone to use JIT to send cached images from their website using another website?

@michael-e
Copy link
Copy Markdown
Member Author

No, it will still require the source website to be in your whitelist. So it has no impact on security.

@brendo
Copy link
Copy Markdown
Member

brendo commented Jun 16, 2011

Excellent, merging...

brendo added a commit that referenced this pull request Jun 16, 2011
Fix for JIT serving images that no longer exist. Allow external images to be cached
@brendo brendo merged commit cff10f8 into symphonycms:integration Jun 16, 2011
brendo pushed a commit that referenced this pull request Mar 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants