Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <StephenLynx> because I might have figured a solution for multi-language support.
- <mona> :D
- <StephenLynx> but is not pretty.
- <StephenLynx> I could store /board/res/1.html and then /board/res/1.html-jp
- <StephenLynx> and use a 302 to redirect from the first to the second.
- <StephenLynx> so you would have quite a number of redirects all over the place.
- <mona> can it be 1.jp.html ?
- <StephenLynx> no
- <mona> ;T___T
- <StephenLynx> hm
- <StephenLynx> let me think.
- <StephenLynx> I think it could, actually.
- <StephenLynx> but it would be a little slower.
- <StephenLynx> since I would have to check the mime to get the extension and then add the token in the middle.
- <StephenLynx> while if I were to add to the end I would just append
- <StephenLynx> I read about vary
- <Space_> LazyLynx strinkes again :^)
- <StephenLynx> and you CAN use cookies on it. but only the whole thing.
- <StephenLynx> kek is not laziness, is efficiency.
- * lel (~lel@Rizon-F9692BD4.direcpc.com) has joined
- <Space_> tbh we're all lazy
- <StephenLynx> nigga, get fucked :v
- <StephenLynx> so
- <StephenLynx> its either renaming the files and throwing 302s out of the ass.
- <StephenLynx> or using the whole cookies for it.
- <StephenLynx> which would fuck endchan's shit up
- <StephenLynx> since they are grossly abusing cookies instead of using localstorage.
- <Space_> but people usually have cookies off though
- <StephenLynx> lol no
- <StephenLynx> very few people turn cookies off.
- <StephenLynx> since its absence breaks many things.
- <StephenLynx> way more than js
- <mona> you can fuck my shit up ;))))
- <StephenLynx> in a scenario where the front-end isn't raping cookies, using vary:cookie wouldn't be so bad.
- <StephenLynx> either the user is logged and will keep hitting its cache
- <StephenLynx> or he isn't logged
- <StephenLynx> and the same will occur.
- <StephenLynx> regardless, it would increase cache rebuild times geometrically.
- <StephenLynx> but
- <StephenLynx> I am not grossly against the idea
- <StephenLynx> however, I'd like to see it done on the front-end before.
- <StephenLynx> and see if it would suffice.
- <StephenLynx> if it doesn't, then I'd put it in the engine.
- <StephenLynx> it would be the difference between opening a tunnel and leveling a mountain.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement