• Resolved HgtuRgg

    (@kalyanbratadas)


    Hello Emre,

    Once again thanks for this lovely plugin. Just got a question. I thought of creating a sub-domain (e.g images.example.com) and store a few images there, especially the larger ones. I will place those image files manually there. This is just to help the browser do parallel downloading.

    Will WPFC still cache those images?

    https://wordpress.org/plugins/wp-fastest-cache/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Emre Vona

    (@emrevona)

    are you talking about .jpg, .png etc.?

    Thread Starter HgtuRgg

    (@kalyanbratadas)

    yes. I mean to say .. I have created a sub domain and uploaded an image there. you can see the image here http://imgs.iconicwebteam.com/office-employees2.png ..

    As you can see, the image has been uploaded on a subdomain created on the main domain iconicwebteam.com..

    Will it still cache my files if I continue to upload images (png jpg) or maybe static css/js files there?

    Plugin Author Emre Vona

    (@emrevona)

    don’t worry, it works well.

    Thread Starter HgtuRgg

    (@kalyanbratadas)

    oh great.. thanks man !! and thanks for this lovely plugin.. 🙂

    Thread Starter HgtuRgg

    (@kalyanbratadas)

    oh! BTW, just let you know, not sure whether it makes sense here or not..

    The root document of this sub domain (imgs.iconicwebteam.com) is not public_html/imgs.. It’s outside public_html.. any difference here.??

    Plugin Author Emre Vona

    (@emrevona)

    are you talking about images which are called from style.css ?

    Thread Starter HgtuRgg

    (@kalyanbratadas)

    not exactly.. let me be elaborate then. I created a sub domain imgs.iconicwebteam.com (you can see two files there visiting this URL)..

    Usually, the path to sub domains created via cPanel are – /public_html/sub-domain-name.. .

    However, in my case it’s /iconic-imgs

    Plugin Author Emre Vona

    (@emrevona)

    if you call image with “http” or “http”, it works well but if you call “../../” like that, it does not work.

    Thread Starter HgtuRgg

    (@kalyanbratadas)

    well..I did not get your answer though.. can you please help me understand if this video file http://imgs.iconicwebteam.com/home-background.mp4 being cached or not? I am unable to verify this..

    thanks once again for your time by the way..

    Plugin Author Emre Vona

    (@emrevona)

    it won’t be cached.

    Thread Starter HgtuRgg

    (@kalyanbratadas)

    oops!! may I get the reason for this? is it because it’s a video file or is it anything to do with the sub domain?

    (sorry to take a lot of time off you today)

    Plugin Author Emre Vona

    (@emrevona)

    static files are not cached because they are static and there is no need to cache 🙂

    Thread Starter HgtuRgg

    (@kalyanbratadas)

    oh!! I must have understood this earlier.. Sorry for this.. So, just to enable browser cache, I understand, we need to work around on .htaccess file in the sub domain directory something like

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType video/mp4 "access 1 month"
    ExpiresByType video/webm "access 1 month"
    </IfModule>

    Am I write here? Is it needed as well?

    Plugin Author Emre Vona

    (@emrevona)

    If you enable gzip or browsercache, there is no need to enable for sub-domains

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Does it cache images stored in a subdomain’ is closed to new replies.